---
title: Lyh Anime Flux   V1.2 Niji API | Text to Image | ModelsLab
description: Generate images from text with Lyh Anime Flux   V1.2 Niji. High-resolution AI image generation. Pay-per-use. Free tier.
url: https://modelslab.com/models/modelslab/lyh-anime-flux-v1-2-niji/api.md
canonical: https://modelslab.com/models/modelslab/lyh-anime-flux-v1-2-niji/api.md
type: product
component: Playground/Endpoint/Index
generated_at: 2026-05-09T16:03:30.626689Z
---

[![lyh_anime_Flux - v1.2 niji thumbnail](https://assets.modelslab.ai/api-logos/01KPMZY676ZM0Z7YJWBM9C78QP.png)](https://modelslab.com/models/modelslab)Lyh Anime Flux - V1.2 Niji
---

[by ModelsLab](https://modelslab.com/models/modelslab)Generate photorealistic and imaginative images from text prompts with advanced detail, inpainting, and image-to-image translation features, ideal for creatives and marketers.

`lyh-anime-flux-v1-2-niji`

Open Source Model [Unlimited Usage](https://modelslab.com/pricing) [LLMs.txt](https://modelslab.com/models/modelslab/lyh-anime-flux-v1-2-niji/llms.txt)

[API Playground](/models/modelslab/lyh-anime-flux-v1-2-niji) [API Documentation](/models/modelslab/lyh-anime-flux-v1-2-niji/api)Vibe CodeRelated ModelsDeveloper SupportModel SpecsEnterprise Deployment

Input
---

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

Model 

lora Model 

Select models...

Width 

Height 

Advanced Settings Customize your input with more control.

Configure

Add FundsLogin to Generate

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

Output
---

Idle

Unknown content type

Related Models
---

Discover similar models you might be interested in

 [View all Image Models](https://modelslab.com/models?feature=imagen)

[![Monochromatic color scheme style F1D + XL - Monochromatic F1D v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b3b1a80e-0aed-4b11-9b25-dfa1da77ed80/width=1024/61546116.jpeg)](https://modelslab.com/models/modelslab/monochromatic-color-scheme-style-f1d-xl-monochromatic-f1d-v1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [Monochromatic color scheme style F1D + XL - Monochromatic F1D v1.0

Open Source Model](https://modelslab.com/models/modelslab/monochromatic-color-scheme-style-f1d-xl-monochromatic-f1d-v1-0)

[![fantasy-tree - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/84ded144-da41-4a17-b64e-0670b77a72a6/width=896/100322570.jpeg)](https://modelslab.com/models/modelslab/fantasy-tree-v1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [fantasy-tree - v1.0

Open Source Model](https://modelslab.com/models/modelslab/fantasy-tree-v1-0)

[![Text Improver [FLUX] - FLUX v0.2](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/7500d647-8c20-442f-868f-a9d3b54084f6/width=752/31339211.mp4)Popular](https://modelslab.com/models/modelslab/text-improver-flux-flux-v0-2)[ModelsLab](https://modelslab.com/models/modelslab)

 [Text Improver \[FLUX\] - FLUX v0.2

Open Source Model](https://modelslab.com/models/modelslab/text-improver-flux-flux-v0-2)

[![Flux Tools - Depth LoRA - Workflow](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/22cef11b-af72-4528-91c3-fcf058532d6a/width=1800/41506771.jpeg)Popular](https://modelslab.com/models/modelslab/flux-tools-depth-lora-workflow)[ModelsLab](https://modelslab.com/models/modelslab)

 [Flux Tools - Depth LoRA - Workflow

Open Source Model](https://modelslab.com/models/modelslab/flux-tools-depth-lora-workflow)

[![[Flux.1 D][Realistic] Hatsune Miku cosplay costume collection | cosplay - 2024|Snow2024](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/797dc94d-2b72-41b5-bdff-3862ea2086c4/width=1152/52776012.jpeg)Popular](https://modelslab.com/models/modelslab/flux-1-d-realistic-hatsune-miku-cosplay-costume-collection-cosplay-2024-snow2024)[ModelsLab](https://modelslab.com/models/modelslab)

 [\[Flux.1 D\]\[Realistic\] Hatsune Miku cosplay costume collection | cosplay - 2024|Snow2024

Open Source Model](https://modelslab.com/models/modelslab/flux-1-d-realistic-hatsune-miku-cosplay-costume-collection-cosplay-2024-snow2024)

[![Diffuse Map Surfaces - v6.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/91e9035e-8c55-41bf-8cbf-6c4b4149e4ac/width=1024/58367346.jpeg)](https://modelslab.com/models/modelslab/diffuse-map-surfaces-v6-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [Diffuse Map Surfaces - v6.0

Open Source Model](https://modelslab.com/models/modelslab/diffuse-map-surfaces-v6-0)

[![Undertale [XL, Pony, Flux] LoRA - Flux Beta](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a72749ec-b06d-4950-b971-3ec20b538abb/width=1792/30983919.jpeg)Popular](https://modelslab.com/models/modelslab/undertale-xl-pony-flux-lora-flux-beta)[ModelsLab](https://modelslab.com/models/modelslab)

 [Undertale \[XL, Pony, Flux\] LoRA - Flux Beta

Open Source Model](https://modelslab.com/models/modelslab/undertale-xl-pony-flux-lora-flux-beta)

[![Hiroshi Nagai Style - FLUX](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/381aa177-2f41-49af-b9f4-dd269f1f92e6/width=1024/63225699.jpeg)Popular](https://modelslab.com/models/modelslab/hiroshi-nagai-style-flux)[ModelsLab](https://modelslab.com/models/modelslab)

 [Hiroshi Nagai Style - FLUX

Open Source Model](https://modelslab.com/models/modelslab/hiroshi-nagai-style-flux)

[![Pixel Art Christmas - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/3fdb8056-1dbe-4fe4-b56b-bbf1f4d93d41/width=896/44606560.jpeg)](https://modelslab.com/models/modelslab/pixel-art-christmas-v1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [Pixel Art Christmas - v1.0

Open Source Model](https://modelslab.com/models/modelslab/pixel-art-christmas-v1-0)

[![Painting Art Styles - Bob Eggleton](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/1174aa54-8959-484a-ac69-909cb09ab510/width=896/54600095.jpeg)Popular](https://modelslab.com/models/modelslab/painting-art-styles-bob-eggleton)[ModelsLab](https://modelslab.com/models/modelslab)

 [Painting Art Styles - Bob Eggleton

Open Source Model](https://modelslab.com/models/modelslab/painting-art-styles-bob-eggleton)

[![- anime_lora](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b04f598c-729d-44e2-a226-731b4844d8c3/width=1152/23919314.jpeg)](https://modelslab.com/models/modelslab/animelora)[ModelsLab](https://modelslab.com/models/modelslab)

 [\- anime\_lora

Open Source Model](https://modelslab.com/models/modelslab/animelora)

[![Prosthetic Limbs - Prosthetic Limbs V1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/af790431-83fd-4920-9d51-4e174eef1129/width=1024/28102701.jpeg)](https://modelslab.com/models/modelslab/prosthetic-limbs-prosthetic-limbs-v1)[ModelsLab](https://modelslab.com/models/modelslab)

 [Prosthetic Limbs - Prosthetic Limbs V1

Open Source Model](https://modelslab.com/models/modelslab/prosthetic-limbs-prosthetic-limbs-v1)

[![[SSF] Rough Paintings for Flux - v2.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/060c5e0a-15a1-4474-8a1d-0aa1829f4cd9/width=1344/70511253.jpeg)](https://modelslab.com/models/modelslab/ssf-rough-paintings-for-flux-v2-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [\[SSF\] Rough Paintings for Flux - v2.0

Open Source Model](https://modelslab.com/models/modelslab/ssf-rough-paintings-for-flux-v2-0)

[![50s Illustration Style - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/2dd50a8c-26e1-48b4-a0db-2e75a7c712d6/width=600/42004988.jpeg)](https://modelslab.com/models/modelslab/50s-illustration-style-v1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [50s Illustration Style - v1.0

Open Source Model](https://modelslab.com/models/modelslab/50s-illustration-style-v1-0)

[![Zavy's Hairglow - Flux - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a32daab3-4384-47e6-9b41-f5970b631b94/width=1520/28591125.jpeg)](https://modelslab.com/models/modelslab/zavy-s-hairglow-flux-v1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [Zavy's Hairglow - Flux - v1.0

Open Source Model](https://modelslab.com/models/modelslab/zavy-s-hairglow-flux-v1-0)

[![Zavy's Cinderella (Disney) - Flux - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/932b47c1-e792-481d-ad15-5779de482aee/width=1520/27418552.jpeg)](https://modelslab.com/models/modelslab/zavy-s-cinderella-disney-flux-v1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [Zavy's Cinderella (Disney) - Flux - v1.0

Open Source Model](https://modelslab.com/models/modelslab/zavy-s-cinderella-disney-flux-v1-0)

[![Realism cinematic photographic style F1D - Realism F1D v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f57d8ff8-ec30-4a21-864d-4e9d39e6d86c/width=1024/29710575.jpeg)Popular](https://modelslab.com/models/modelslab/realism-cinematic-photographic-style-f1d-realism-f1d-v1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [Realism cinematic photographic style F1D - Realism F1D v1.0

Open Source Model](https://modelslab.com/models/modelslab/realism-cinematic-photographic-style-f1d-realism-f1d-v1-0)

[![Jan Brueghel Style - FLUX](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/5576ca04-1389-4576-94b1-e4525ac91270/width=1024/65516130.jpeg)Popular](https://modelslab.com/models/modelslab/jan-brueghel-style-flux)[ModelsLab](https://modelslab.com/models/modelslab)

 [Jan Brueghel Style - FLUX

Open Source Model](https://modelslab.com/models/modelslab/jan-brueghel-style-flux)

About Lyh Anime Flux - V1.2 Niji
---

Lyh Anime Flux - V1.2 Niji is a text to image AI model available on ModelsLab. Access Lyh Anime Flux - V1.2 Niji through our API with pay-per-use pricing and no minimum commitments.

### Technical Specifications

Model IDlyh-anime-flux-v1-2-nijiProviderModelslabCategoryImage ModelsTaskText to ImagePrice$0.0047 per API callAddedJune 4, 2025

### Key Features

- High-resolution AI image generation from text prompts
- Negative prompt support for precise control
- Multiple output formats and aspect ratios
- Adjustable inference steps and guidance scale
- Batch generation support via API

### Quick Start

Integrate Lyh Anime Flux - V1.2 Niji into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v6/images/text2img"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "lyh-anime-flux-v1-2-niji",
        "prompt": "your prompt here",
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/modelslab/lyh-anime-flux-v1-2-niji/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Lyh Anime Flux - V1.2 Niji API costs $0.0047 per API call. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- Product photography and e-commerce visuals
- Marketing and social media content creation
- Concept art and design prototyping
- Custom illustrations and artwork

[Browse Image Models](https://modelslab.com/models?feature=imagen) [More from Modelslab](https://modelslab.com/models/modelslab) [View Pricing](https://modelslab.com/pricing)

Lyh Anime Flux - V1.2 Niji FAQ
---

### What is Lyh Anime Flux - V1.2 Niji?

Lyh Anime Flux - V1.2 Niji is a text to image AI model available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

### How do I use the Lyh Anime Flux - V1.2 Niji API?

You can integrate Lyh Anime Flux - V1.2 Niji into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "lyh-anime-flux-v1-2-niji" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Lyh Anime Flux - V1.2 Niji cost?

Lyh Anime Flux - V1.2 Niji costs $0.0047 per API call. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Lyh Anime Flux - V1.2 Niji model ID?

The model ID for Lyh Anime Flux - V1.2 Niji is "lyh-anime-flux-v1-2-niji". Use this ID in your API requests to specify this model.

### Does Lyh Anime Flux - V1.2 Niji have a free tier?

Yes, ModelsLab offers a free tier that lets you try Lyh Anime Flux - V1.2 Niji and other AI models. Sign up to get free API credits and start building immediately.

---

*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-05-09*