---
title: AGXL AGXL V2 API | Text to Image | ModelsLab
description: Generate images from text with AGXL AGXL V2. High-resolution AI image generation. Plans from $21/month.
url: https://modelslab.com/models/modelslab/agxl-agxl-v2.md
canonical: https://modelslab.com/models/modelslab/agxl-agxl-v2
type: product
component: Playground/Endpoint/Index
generated_at: 2026-11-07T01:55:40.672038Z
---

[![AGXL - AGXL_v2 thumbnail](https://assets.modelslab.ai/api-logos/01KPMZY676ZM0Z7YJWBM9C78QP.png)](https://modelslab.com/models/modelslab)AGXL - AGXL V2
---

[by ModelsLab](https://modelslab.com/models/modelslab)Recommended Settings:

steps: 30; cfg: 3.5; sampler: res\_multistep; scheduler: exponential.

HiRes: Siax\_200k, Steps: 10, Denoise: 0.3-0.4, Upscale: 1.5-2

`agxl-agxl-v2`

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

[API Playground](/models/modelslab/agxl-agxl-v2)API DocumentationVibe CodeRelated ModelsDeveloper SupportModel SpecsEnterprise Deployment

Input
---

Prompt 

a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography

Model 

LoRA Model 

HuggingFaceLibrary

Select models...

Width 

Height 

Advanced Settings Customize your input with more control.

**$0.0047** per image generation

Login to Generate

Output
---

Idle

Unknown content type

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

[Google](https://modelslab.com/models/google)

 [Nano Banana Pro](/models/google/nano-banana-pro?config=nano-banana-pro-text2image)Closed Source Model

[ModelsLab](https://modelslab.com/models/modelslab) Popular

 [Flux 3 Klein Text To Image](https://modelslab.com/models/modelslab/flux-3-klein)Open Source Model

[Runway ML](https://modelslab.com/models/runway_ml)

 [Gen4 Text to Image](https://modelslab.com/models/runway_ml/gen4_image)Closed Source Model

[xAI](https://modelslab.com/models/xai)

 [Grok Imagine Image 2.0 Text To Image](https://modelslab.com/models/x-ai/grok-imagine-image-2.0-t2i)Closed Source Model

[BytePlus](https://modelslab.com/models/byteplus)

 [Seedream 5.0 Pro Text To Image](https://modelslab.com/models/byteplus/seedream-5.0-pro-t2i)Closed Source Model

[Google](https://modelslab.com/models/google)

 [Nano Banana 2.1 Text To Image](https://modelslab.com/models/google/gemini-nano-banana-2.1-t2i)Closed Source Model

### Faster Generation

Built for speed when you are iterating on a prompt.

[xAI](https://modelslab.com/models/xai)

 [Grok Imagine Text To Image](https://modelslab.com/models/xai/grok-imagine-image-t2i)

[Alibaba](https://modelslab.com/models/alibaba_cloud)

 [Wan 2.7 Text To Image](https://modelslab.com/models/alibaba_cloud/wan-2.7-t2i)

Related Models
---

Discover similar models you might be interested in

 [View all Models](https://modelslab.com/models)

[ModelsLab](https://modelslab.com/models/modelslab)

 [Yaeba - Crooked Snaggle Teeth - SDXL](https://modelslab.com/models/modelslab/yaeba-crooked-snaggle-teeth-sdxl)

[ModelsLab](https://modelslab.com/models/modelslab)

 [NewRealityXL v2](https://modelslab.com/models/modelslab/newrealityxl-v2)

[ModelsLab](https://modelslab.com/models/modelslab)

 [Prison background 2 - v1.0](https://modelslab.com/models/modelslab/prison-background-2-v1-0)

[ModelsLab](https://modelslab.com/models/modelslab) Popular

 [Experimental by Huggy - line art SDXL V02E10](https://modelslab.com/models/modelslab/experimental-by-huggy-line-art-sdxl-v02e10-1751952459)

[ModelsLab](https://modelslab.com/models/modelslab)

 [Arctic ice field - v1.0](https://modelslab.com/models/modelslab/arctic-ice-field-v1-0)

[ModelsLab](https://modelslab.com/models/modelslab) Popular

 [Index Anime Style - Petunia](https://modelslab.com/models/modelslab/index-anime-style-petunia)

View all 18 related models

About AGXL - AGXL V2
---

Recommended Settings: steps: 30; cfg: 3.5; sampler: resmultistep; scheduler: exponential.HiRes: Siax200k, Steps: 10, Denoise: 0.3-0.4, Upscale: 1.5-2

### Technical Specifications

Model IDagxl-agxl-v2

ProviderModelsLab

TaskAI Generation

Price$0.0047 per API call

AddedJune 4, 2025

### Quick Start

Integrate AGXL - AGXL V2 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": "agxl-agxl-v2",
        "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>
```

### Pricing

AGXL - AGXL V2 API costs $0.0047 per API call. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [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)

AGXL - AGXL V2 FAQ
---

### What is AGXL - AGXL V2?

Recommended Settings: steps: 30; cfg: 3.5; sampler: res_multistep; scheduler: exponential.HiRes: Siax_200k, Steps: 10, Denoise: 0.3-0.4, Upscale: 1.5-2

### How do I use the AGXL - AGXL V2 API?

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

### How much does AGXL - AGXL V2 cost?

AGXL - AGXL V2 costs $0.0047 per API call. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the AGXL - AGXL V2 model ID?

The model ID for AGXL - AGXL V2 is "agxl-agxl-v2". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use AGXL - AGXL V2?

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*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-11-07*