---
title: Anxiaozhi Flux 2 API | Text to Image | ModelsLab
description: Generate images from text with Anxiaozhi Flux 2. High-resolution AI image generation. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhiflux2/api.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhiflux2/api.md
type: product
component: Playground/Endpoint/Index
generated_at: 2026-05-14T07:41:28.774669Z
---

[![anxiaozhi_flux_2 thumbnail](https://assets.modelslab.ai/api-logos/01KPMZY676ZM0Z7YJWBM9C78QP.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)Anxiaozhi Flux 2
---

[by ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)a face

`anxiaozhiflux2`

Open Source Model [Unlimited Usage](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhiflux2/llms.txt)

[API Playground](/models/modelslab/anxiaozhiflux2) [API Documentation](/models/modelslab/anxiaozhiflux2/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 

anxiaozhiflux2

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 Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models)

[![anxiaozhi_000004500](https://images.stablediffusionapi.com/?Image=images/Vp98djYO831QlJjHMiZ4VBEvTXp8FV4ULDqErHt3.jpg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhi000004500)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [anxiaozhi\_000004500

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhi000004500)

[![anxiaozhi_flux_lora_1](https://images.stablediffusionapi.com/?Image=images/tEtDQY9aYvSJwsjxd6eH2GbWi5fV0cDTe8W92Woc.jpg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhifluxlora1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [anxiaozhi\_flux\_lora\_1

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhifluxlora1)

[![anxiaozhi_000004000](https://images.stablediffusionapi.com/?Image=images/IGSrpJVbVHcjiRuCSDFC3vmMRRfWniiUeIUkCy60.jpg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhi000004000)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [anxiaozhi\_000004000

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhi000004000)

[![anxiaozhi_000005500](https://images.stablediffusionapi.com/?Image=images/RCF9dewVLh4eiiRHbPFVuOkHcuCNBaqv4HSbYUG8.jpg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhi000005500)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [anxiaozhi\_000005500

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhi000005500)

[![anxiaozhi_000006000](https://images.stablediffusionapi.com/?Image=images/yJNmBt5yjUXtCB2aUfcTt2DYQSiTxG51tGsoQ1cN.jpg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhi000006000)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [anxiaozhi\_000006000

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhi000006000)

[![Trinity Mix - Shasta V1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/215afe7c-dfc7-48d5-ba80-9435cde3a615/width=1760/28196942.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/trinity-mix-shasta-v1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Trinity Mix - Shasta V1

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/trinity-mix-shasta-v1)

[![JJs Art Nouveau Building - XL v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ca689ac9-e1cc-4798-8ba7-9cc19f4124df/original=true/53443092.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/jjs-art-nouveau-building-xl-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [JJs Art Nouveau Building - XL v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/jjs-art-nouveau-building-xl-v1-0)

[![Shingo Yabuki (Multiple Outfits) - King Of Fighters - SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/21e1c416-8419-4441-aa23-824243f940fe/width=768/13680768.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/shingo-yabuki-multiple-outfits-king-of-fighters-sdxl)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Shingo Yabuki (Multiple Outfits) - King Of Fighters - SDXL

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/shingo-yabuki-multiple-outfits-king-of-fighters-sdxl)

[![zyd232's Ink Style - Flux.1D_v1.1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f78610cd-d064-4906-a299-87af450d039f/width=768/31597242.mp4)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/zyd232-s-ink-style-flux-1d-v1-1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [zyd232's Ink Style - Flux.1D\_v1.1

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/zyd232-s-ink-style-flux-1d-v1-1)

[![Petzval - Lenses - cinematic style F1D + XL + Pony - Petzval XL v2.5](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b748e2ec-7f28-420c-aec5-6f496f36712e/width=1024/78205335.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/petzval-lenses-cinematic-style-f1d-xl-pony-petzval-xl-v2-5)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Petzval - Lenses - cinematic style F1D + XL + Pony - Petzval XL v2.5

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/petzval-lenses-cinematic-style-f1d-xl-pony-petzval-xl-v2-5)

[![no.11 - V1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/43117c39-cdbe-4311-8075-49add8a6672c/original=true/102500019.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/no-11-v1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [no.11 - V1

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/no-11-v1)

[![Alchemist (Ragnarok Online) - v3.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b922cd7e-3206-40ce-9a26-6844c5839d4f/width=96/baipaiyok.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/alchemist-ragnarok-online-v3-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Alchemist (Ragnarok Online) - v3.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/alchemist-ragnarok-online-v3-0)

[![T2Y Base Style - v4.1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9932eb10-a3ce-4f8b-88ac-17bfd0177f97/width=512/35517311.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/t2y-base-style-v4-1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [T2Y Base Style - v4.1

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/t2y-base-style-v4-1)

[![helloFlatColorful2D - v2.1pVAE](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/be35a9f3-197c-40b2-b49c-c9854d05ca07/width=1024/17373722.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/helloflatcolorful2d-v21pvae)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [helloFlatColorful2D - v2.1pVAE

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/helloflatcolorful2d-v21pvae)

[![ControlNetXL (CNXL) - h94-ip-adapter-vit-h](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/dccd6aff-867e-4755-aed8-a0ee146b759b/width=832/4712257.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/controlnetxl-cnxl-h94-ip-adapter-vit-h)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [ControlNetXL (CNXL) - h94-ip-adapter-vit-h

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/controlnetxl-cnxl-h94-ip-adapter-vit-h)

[![TzigoInpaintXL - TzigoRealXL_Inpaint_v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8d834d52-508a-4254-9e4e-52678bdde430/width=1248/18129494.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/tzigoinpaintxl-tzigorealxlinpaintv10)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [TzigoInpaintXL - TzigoRealXL\_Inpaint\_v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/tzigoinpaintxl-tzigorealxlinpaintv10)

[![NIJI Anime Style (NIJI V6 - Midjourney) [FLUX/SDXL] - SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/85617a69-de7a-4f0b-818d-0ead8638dba4/width=1080/14254022.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/niji-anime-style-niji-v6-midjourney-flux-sdxl-sdxl)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [NIJI Anime Style (NIJI V6 - Midjourney) \[FLUX/SDXL\] - SDXL

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/niji-anime-style-niji-v6-midjourney-flux-sdxl-sdxl)

[![X姜立jiangli星辰变(Lib)Stellar Transformation - v0.5](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8b90ac9f-2820-47b4-9979-67aeef5b83d2/width=1024/80125667.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/xjianglilibstellartransformation-v05)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [X姜立jiangli星辰变(Lib)Stellar Transformation - v0.5

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/xjianglilibstellartransformation-v05)

About Anxiaozhi Flux 2
---

Anxiaozhi Flux 2 is a ai generation AI model available on ModelsLab. Access Anxiaozhi Flux 2 through our API with pay-per-use pricing and no minimum commitments.

### Technical Specifications

Model IDanxiaozhiflux2ProviderModelslabTaskAI GenerationPrice$0.0047 per API callAddedJune 8, 2025

### Quick Start

Integrate Anxiaozhi Flux 2 into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/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": "anxiaozhiflux2",
        "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-frontend-v2-927501783998.us-east4.run.app/models/modelslab/anxiaozhiflux2/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Anxiaozhi Flux 2 API costs $0.0047 per API call. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

[Browse All Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models) [More from Modelslab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Anxiaozhi Flux 2 FAQ
---

### What is Anxiaozhi Flux 2?

Anxiaozhi Flux 2 is a ai generation AI model available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

### How do I use the Anxiaozhi Flux 2 API?

You can integrate Anxiaozhi Flux 2 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "anxiaozhiflux2" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Anxiaozhi Flux 2 cost?

Anxiaozhi Flux 2 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 Anxiaozhi Flux 2 model ID?

The model ID for Anxiaozhi Flux 2 is "anxiaozhiflux2". Use this ID in your API requests to specify this model.

### Does Anxiaozhi Flux 2 have a free tier?

Yes, ModelsLab offers a free tier that lets you try Anxiaozhi Flux 2 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-14*