---
title: | Fate/Stay Night   AnimagineXL 4.0opt API | Text to Image | ModelsLab
description: Generate images from text with | Fate/Stay Night   AnimagineXL 4.0opt. High-resolution AI image generation. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/fate-stay-night-animaginexl-4-0opt-1760077808.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/fate-stay-night-animaginexl-4-0opt-1760077808.md
type: product
component: Playground/Endpoint/Index
generated_at: 2026-04-06T08:58:32.666476Z
---

# | Fate/Stay Night   AnimagineXL 4.0opt API | Text to Image | ModelsLab

> Generate images from text with | Fate/Stay Night   AnimagineXL 4.0opt. High-resolution AI image generation. Pay-per-use. Free tier.

**Navigation**: [Home](https://modelslab-frontend-v2-927501783998.us-east4.run.app) > [Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models) > [ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab) > [| Fate/Stay Night   AnimagineXL 4.0opt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/fate-stay-night-animaginexl-4-0opt-1760077808.md)

## Model

- **Model ID**: `fate-stay-night-animaginexl-4-0opt-1760077808`
- **Category**: Stable Diffusion Xl
- **Provider**: Modelslab
- **Status**: model_ready

## API Endpoint

- **URL**: `https://modelslab-frontend-v2-927501783998.us-east4.run.app/api/v6/images/text2img`
- **Method**: `POST`
- **Content-Type**: `application/json`
- **Endpoint Name**: Text to Image Community Model

Generate photorealistic and imaginative images from text prompts with advanced detail, inpainting, and image-to-image translation features, ideal for creatives and marketers.

Per image generation will cost 0.0047$ For premium plan image generation will cost 0.00$ i.e Free.

## API Parameters

### `prompt` (optional)

prompt help in image generation

- **Type**: textarea
- **Default**: `R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair,...`
- **Example**: Enter prompt

### `model_id` (optional)

Enter model_id that can help in image generation

- **Type**: text
- **Default**: `boziorealvisxlv4`
- **Example**: Enter model_id here

### `lora_model` (optional)

- **Type**: multiple_models

### `width` (optional)

width of the image 

- **Type**: number
- **Default**: `1024`
- **Range**: min: 512, max: 1024

### `height` (optional)

height of the image 

- **Type**: number
- **Default**: `1024`
- **Range**: min: 512, max: 1024

### `negative_prompt` (optional)

Negative prompt help in avoid things that you do not want in image 

- **Type**: textarea
- **Default**: `(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurr...`
- **Example**: Enter negative prompt that you do not want see in image

### `scheduler` (optional)

- **Type**: select
- **Default**: `DPMSolverMultistepScheduler`
- **Options**: `DPMSolverMultistepScheduler`, `DPMSolverSinglestepScheduler`, `EulerDiscreteScheduler`, `EulerAncestralDiscreteScheduler`

### `guidance_scale` (optional)

- **Type**: number
- **Default**: `7.5`
- **Range**: min: 1, max: 10

## Usage Example

### cURL

```bash
curl --request POST \
  --url https://modelslab-frontend-v2-927501783998.us-east4.run.app/api/v6/images/text2img \
  --header "Content-Type: application/json" \
  --data '{
    "key": "YOUR_API_KEY",
    "model_id": "fate-stay-night-animaginexl-4-0opt-1760077808",
    "prompt": "R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair, bangs, darkly tanned skin, earrings, bone necklaces, dark eyeshadow, red lips, vibrant, front-laced transparent, filmy silk blouse, cleavage, holding skull, in a sandstone room lit by candles, High Detail, Perfect Composition, high contrast, silhouetted, chiascuro",
    "lora_model": "fate-stay-night-animaginexl-4-0opt-1760077808",
    "width": "1024",
    "height": "1024",
    "negative_prompt": "(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurry), (duplicate), (morbid), (mutilated), (out of frame), (extra limbs), (bad anatomy), (disfigured), (deformed), (cross-eye), (glitch), (oversaturated), (overexposed), (underexposed), (bad proportions), (bad hands), (bad feet), (cloned face), (long neck), (missing arms), (missing legs), (extra fingers), (fused fingers), (poorly drawn hands), (poorly drawn face), (mutation), (deformed eyes), watermark, text, logo, signature, grainy, tiling, censored, nsfw, ugly, blurry eyes, noisy image, bad lighting, unnatural skin, asymmetry",
    "scheduler": "DPMSolverMultistepScheduler",
    "guidance_scale": "7.5"
}'
```

## Further Reading

- [Full API Reference (llms.txt)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/fate-stay-night-animaginexl-4-0opt-1760077808/llms.txt)

## Related Models

- [JJ's - UnderGround_Building - XL v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/jj-s-underground-building-xl-v1-0) — Stable Diffusion Xl
- [Crossdresser XL - v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/crossdresser-xl-v1-0) — Stable Diffusion Xl
- [Hatsune Miku (Default Costume) / Project SEKAI - AnimagineXL V3.1](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/hatsune-miku-default-costume-project-sekai-animaginexl-v3-1) — Stable Diffusion Xl
- [Speech Bubble "BUZZ ME" IL SDXL - SDXL](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/speech-bubble-buzz-me-il-sdxl-sdxl) — Stable Diffusion Xl
- [Flesh Monstrosity XL - SDXL/Pony Merge V1](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/flesh-monstrosity-xl-sdxl-pony-merge-v1) — Stable Diffusion Xl
- [komeiji_satori_noobxl_eps_1.0 - 1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/komeiji-satori-noobxl-eps-1-0-1-0) — Stable Diffusion Xl
- [Bodycon Dress Ultimate Pack - v1.0 Ultimate](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/bodycon-dress-ultimate-pack-v1-0-ultimate) — Stable Diffusion Xl
- [modeloDan - V1](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/modelodan-v1) — Stable Diffusion Xl
- [Hong Kong Action Cinema style XL + F1D - Hong Kong Cinema XL v1](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/hong-kong-action-cinema-style-xl-f1d-hong-kong-cinema-xl-v1) — Stable Diffusion Xl
- [1970's style XL + F1D - 1970's XL v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/1970-s-style-xl-f1d-1970-s-xl-v1-0) — Stable Diffusion Xl

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-06*