---
title:  API | Text to Image | ModelsLab
description: Generate images from text with . High-resolution AI image generation. Pay-per-use. Free tier.
url: https://modelslab.com/models/modelslab/gufengsun/api.md
canonical: https://modelslab.com/models/modelslab/gufengsun/api.md
type: product
component: Playground/Endpoint/Index
generated_at: 2026-05-09T20:38:30.779787Z
---

[![null thumbnail](https://assets.modelslab.ai/api-logos/01KPMZY676ZM0Z7YJWBM9C78QP.png)](https://modelslab.com/models/modelslab)Model Details
---

[by ModelsLab](https://modelslab.com/models/modelslab)public model uploaded

`gufengSun`

Open Source Model [Unlimited Usage](https://modelslab.com/pricing) [LLMs.txt](https://modelslab.com/models/modelslab/gufengSun/llms.txt)

[API Playground](/models/modelslab/gufengsun) [API Documentation](/models/modelslab/gufengsun/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 Models](https://modelslab.com/models)

[![Super Sailor Moon / - for-Animagine-v3.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ec26c7ba-0e12-4ccf-884b-bc1e8eb62b9c/width=1096/14023149.jpeg)Popular](https://modelslab.com/models/modelslab/super-sailor-moon-for-animagine-v3-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [Super Sailor Moon / - for-Animagine-v3.0

Open Source Model](https://modelslab.com/models/modelslab/super-sailor-moon-for-animagine-v3-0)

[![Eldritch Clay Model - v0.9](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/fc72a652-711f-4325-a340-7a18cf24dc70/width=896/22984134.jpeg)](https://modelslab.com/models/modelslab/eldritch-clay-model-v0-9)[ModelsLab](https://modelslab.com/models/modelslab)

 [Eldritch Clay Model - v0.9

Open Source Model](https://modelslab.com/models/modelslab/eldritch-clay-model-v0-9)

[![Gluttony (fma) Extra Mouth on stomach ( ) - Animagine](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a3a2df18-54b1-4bd5-8f6d-dbe093ddb526/width=1024/70837366.jpeg)](https://modelslab.com/models/modelslab/gluttony-fma-extra-mouth-on-stomach-animagine)[ModelsLab](https://modelslab.com/models/modelslab)

 [Gluttony (fma) Extra Mouth on stomach ( ) - Animagine

Open Source Model](https://modelslab.com/models/modelslab/gluttony-fma-extra-mouth-on-stomach-animagine)

[![JJ's Drawing- Floor Plan - XL 1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/417a5a4a-d291-401e-bcc8-42984c21312f/width=1024/6702794.jpeg)Popular](https://modelslab.com/models/modelslab/jj-s-drawing-floor-plan-xl-1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [JJ's Drawing- Floor Plan - XL 1.0

Open Source Model](https://modelslab.com/models/modelslab/jj-s-drawing-floor-plan-xl-1-0)

[![suspi2xl - v1.1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/dfb419cc-b2a8-4605-b189-e224c5811455/width=832/41822128.jpeg)](https://modelslab.com/models/modelslab/suspi2xl-v1-1)[ModelsLab](https://modelslab.com/models/modelslab)

 [suspi2xl - v1.1

Open Source Model](https://modelslab.com/models/modelslab/suspi2xl-v1-1)

[![( )/Mami Sakura(Esper Mami) - v2.0 SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/bce52222-abc3-44e3-9850-b05546ea7811/width=1024/8488382.jpeg)Popular](https://modelslab.com/models/modelslab/mami-sakura-esper-mami-v2-0-sdxl)[ModelsLab](https://modelslab.com/models/modelslab)

 [( )/Mami Sakura(Esper Mami) - v2.0 SDXL

Open Source Model](https://modelslab.com/models/modelslab/mami-sakura-esper-mami-v2-0-sdxl)

[![violeta - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/5d7c167d-5781-4141-b519-64a244a6e7d2/original=true/116861759.jpeg)](https://modelslab.com/models/modelslab/violeta-v1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [violeta - v1.0

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

[![- SDXL_Niji_V2](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/86b52d23-6bff-4cfd-aa8a-1645dcbdf125/width=1432/1954035.jpeg)](https://modelslab.com/models/modelslab/sdxlnijiv2)[ModelsLab](https://modelslab.com/models/modelslab)

 [\- SDXL\_Niji\_V2

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

[![Realism SDXL By Stable Yogi - v6.0_XL_DMD2](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f5a706c6-b640-4b6d-8a03-fc8421ec1428/width=96/Stable_Yogi.jpeg)Popular](https://modelslab.com/models/modelslab/realism-sdxl-by-stable-yogi-v6-0-xl-dmd2)[ModelsLab](https://modelslab.com/models/modelslab)

 [Realism SDXL By Stable Yogi - v6.0\_XL\_DMD2

Open Source Model](https://modelslab.com/models/modelslab/realism-sdxl-by-stable-yogi-v6-0-xl-dmd2)

[![Cables [XL/IL] - SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/e1b18a29-ad75-49e2-95de-265cf536fe5e/width=1200/7340650.jpeg)](https://modelslab.com/models/modelslab/cables-xl-il-sdxl)[ModelsLab](https://modelslab.com/models/modelslab)

 [Cables \[XL/IL\] - SDXL

Open Source Model](https://modelslab.com/models/modelslab/cables-xl-il-sdxl)

[![ControlNetXL (CNXL) - kohya-replicate-anime](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f8065f0a-932b-4fe8-8a8e-52f777c4b23f/width=832/2520175.jpeg)Popular](https://modelslab.com/models/modelslab/controlnetxl-cnxl-kohya-replicate-anime)[ModelsLab](https://modelslab.com/models/modelslab)

 [ControlNetXL (CNXL) - kohya-replicate-anime

Open Source Model](https://modelslab.com/models/modelslab/controlnetxl-cnxl-kohya-replicate-anime)

[![Giantess-XL - beta](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b0ac5e1a-168c-4c7c-80d7-f65b0b47c157/width=1800/3602588.jpeg)Popular](https://modelslab.com/models/modelslab/giantess-xl-beta)[ModelsLab](https://modelslab.com/models/modelslab)

 [Giantess-XL - beta

Open Source Model](https://modelslab.com/models/modelslab/giantess-xl-beta)

[![- Facial Expression xl v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/fb24d7fb-6e3c-41ce-b2f9-8a06ee060753/width=1024/17526115.jpeg)](https://modelslab.com/models/modelslab/facialexpressionxlv10)[ModelsLab](https://modelslab.com/models/modelslab)

 [\- Facial Expression xl v1.0

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

[![- TencentARC-sketch](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/31a4ae22-3f0e-41a6-bd30-38f9206f336c/width=832/2358074.jpeg)](https://modelslab.com/models/modelslab/tencentarcsketch)[ModelsLab](https://modelslab.com/models/modelslab)

 [\- TencentARC-sketch

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

[![PeriformXL - v1.0 lightning](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/c289f77d-1fa9-41ae-aee2-c2a77c35c374/width=1800/28693883.jpeg)](https://modelslab.com/models/modelslab/periformxl-v1-0-lightning)[ModelsLab](https://modelslab.com/models/modelslab)

 [PeriformXL - v1.0 lightning

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

[![SDXL: A3MIHOYO Collection (Honkai Impact 3rd | Honkai Star Rail | Genshin Impact | Zenless Zone Zero](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/05f8ccea-4428-43ad-a90d-19edc70976ad/width=1136/17868005.jpeg)Popular](https://modelslab.com/models/modelslab/sdxl-a3-mihoyo-collection-honkai-impact-3rd-honkai-star-rail-genshin-impact-zenl-1751952010)[ModelsLab](https://modelslab.com/models/modelslab)

 [SDXL: A3MIHOYO Collection (Honkai Impact 3rd | Honkai Star Rail | Genshin Impact | Zenless Zone Zero

Open Source Model](https://modelslab.com/models/modelslab/sdxl-a3-mihoyo-collection-honkai-impact-3rd-honkai-star-rail-genshin-impact-zenl-1751952010)

[![Ouzuka Mai (Pony IL XL 1.5) - V1.0-SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/39f999d8-4aef-4a64-85a9-e02a219b46ac/width=1800/45768698.jpeg)](https://modelslab.com/models/modelslab/ouzuka-mai-pony-il-xl-1-5-v1-0-sdxl)[ModelsLab](https://modelslab.com/models/modelslab)

 [Ouzuka Mai (Pony IL XL 1.5) - V1.0-SDXL

Open Source Model](https://modelslab.com/models/modelslab/ouzuka-mai-pony-il-xl-1-5-v1-0-sdxl)

[![Event Horizon XL - v1.6](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/cbb44d26-42a5-4ee8-b831-8f92445cf8ac/original=true/102930466.mp4)Popular](https://modelslab.com/models/modelslab/event-horizon-xl-v1-6)[ModelsLab](https://modelslab.com/models/modelslab)

 [Event Horizon XL - v1.6

Open Source Model](https://modelslab.com/models/modelslab/event-horizon-xl-v1-6)

About Model
---

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

### Technical Specifications

Model IDgufengSunProviderModelslabTaskAI GenerationPrice$0.0047 per API callAddedOctober 14, 2024

### Quick Start

Integrate Model 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": "gufengSun",
        "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/gufengSun/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Model API costs $0.0047 per API call. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

[Browse All Models](https://modelslab.com/models) [More from Modelslab](https://modelslab.com/models/modelslab) [View Pricing](https://modelslab.com/pricing)

Model FAQ
---

### What is Model?

Model 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 Model API?

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

### How much does Model cost?

Model 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 Model model ID?

The model ID for Model is "gufengSun". Use this ID in your API requests to specify this model.

### Does Model have a free tier?

Yes, ModelsLab offers a free tier that lets you try Model 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-10*