---
title: Ym2 V1 API | Text to Image | ModelsLab
description: Generate images from text with Ym2 V1. High-resolution AI image generation. Plans from $21/month.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ym2-v1.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ym2-v1
type: product
component: Playground/Endpoint/Index
generated_at: 2026-08-27T13:49:22.314612Z
---

[![ym2 - V1 thumbnail](https://assets.modelslab.ai/api-logos/01KPMZY676ZM0Z7YJWBM9C78QP.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)Ym2 - V1
---

[by ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/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.

`ym2-v1`

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/ym2-v1/llms.txt)

[API Playground](/models/modelslab/ym2-v1)API DocumentationVibe 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 

HuggingFaceLibrary

ym2-v1

Width 

Height 

Advanced Settings Customize your input with more control.

Configure

Login to Generate

**Per image generation** will cost **$0.0047**.
Open-source models are included on the [$149/month Open Source Unlimited plan](/pricing). Third-party models are billed per generation on every plan.

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.

[![Gemini 2.5 Flash (nano banana)](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/2fda7bb1-ecb1-4ab4-a15b-6f2ad7ba715d.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/nano-banana)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Gemini 2.5 Flash (nano banana)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/nano-banana)

[![Nano Banana Pro](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/5ee72f26-dfa9-4d26-a546-7d496ef71be7.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/nano-banana-pro)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Nano Banana Pro](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/nano-banana-pro)

[![Seedream 5.0 Lite Image Edit](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/70af0fa2-f20f-4a47-b8c3-71f66f6252a0.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus/seedream-5-lite-i2i)[BytePlus](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus)

 [Seedream 5.0 Lite Image Edit](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus/seedream-5-lite-i2i)

[![Gen4 Text to Image](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/b656bfe5-c402-456b-9980-f7447198887d.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/runway_ml/gen4_image)[Runway ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/runway_ml)

 [Gen4 Text to Image](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/runway_ml/gen4_image)

[![Grok Imagine Image 2.0 Image Editing](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/9e524e27-1666-42cd-b460-25f143b20108.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/x-ai/grok-imagine-image-2.0-i2i)[xAI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai)

 [Grok Imagine Image 2.0 Image Editing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/x-ai/grok-imagine-image-2.0-i2i)

[![Seedream 5.0 Pro Image To Image ](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/04adba18-4012-4a7f-b9c5-8836516c6d4b.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus/seedream-5.0-pro-i2i)[BytePlus](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus)

 [Seedream 5.0 Pro Image To Image](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus/seedream-5.0-pro-i2i)

### Faster turnaround

Built for speed when you are iterating on a prompt.

[![Grok Imagine Text To Image](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/77fe7302-eee2-45bd-baae-45d2a822b52f.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai/grok-imagine-image-t2i)[xAI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai)

 [Grok Imagine Text To Image](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai/grok-imagine-image-t2i)

[![Wan 2.7 Image Edit](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/eb0785a4-e281-44c1-9c1e-7a9c6a07d6e2.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/alibaba_cloud/wan-2.7-i2i)[Alibaba](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/alibaba_cloud)

 [Wan 2.7 Image Edit](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/alibaba_cloud/wan-2.7-i2i)

[![Wan 2.7 Text To Image](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/aba76d25-b19c-4fee-9123-4cbb29e71646.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/alibaba_cloud/wan-2.7-t2i)[Alibaba](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/alibaba_cloud)

 [Wan 2.7 Text To Image](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/alibaba_cloud/wan-2.7-t2i)

Related Models
---

Discover similar models you might be interested in

 [View all Image Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=imagen)

[![Sketch Draw Animal - V1](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/320747ec-7f17-4ffa-900c-327717d05076/width=512/54504180.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/sketch-draw-animal-v1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Sketch Draw Animal - V1](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/sketch-draw-animal-v1)

[![LAK6 - V1](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/c9aa121f-07fa-4511-be80-98eecb775c4d/original=true/104097528.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/lak6-v1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [LAK6 - V1](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/lak6-v1)

[![Joschek's Artstyles For Flux - hal foster](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/c5637154-c94a-41ea-a463-3363cabb74e1/width=1024/31465902.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/joschek-s-artstyles-for-flux-hal-foster)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Joschek's Artstyles For Flux - hal foster](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/joschek-s-artstyles-for-flux-hal-foster)

[![Atari 5200 3D Box - v1.0](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/14c02978-322c-49db-9b6c-5af119cbb88b/original=true/105170515.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/atari-5200-3d-box-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Atari 5200 3D Box - v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/atari-5200-3d-box-v1-0)

[![Alien Infestation - WorldMorph (Flux) - V1](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/c6f9bb78-042a-48fa-9c9f-6354f329db0e/width=832/29180621.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/alien-infestation-worldmorph-flux-v1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Alien Infestation - WorldMorph (Flux) - V1](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/alien-infestation-worldmorph-flux-v1)

[![SXZ Amadmir [ FLUX ] - v1](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ddc5d42b-cb28-4b17-b73f-815e79537a88/width=768/28401179.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/sxz-amadmir-flux-v1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [SXZ Amadmir \[ FLUX \] - v1](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/sxz-amadmir-flux-v1)

View all 18 related models

About Ym2 - V1
---

Ym2 - V1 is a text to image AI model by ModelsLab available on ModelsLab. Access Ym2 - V1 through our API with pay-per-use pricing and no minimum commitments.

### Technical Specifications

Model IDym2-v1

ProviderModelsLab

CategoryImage Models

TaskText to Image

Price$0.0047 per API call

AddedSeptember 29, 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 Ym2 - V1 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": "ym2-v1",
        "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

Ym2 - V1 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)

### 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-frontend-v2-927501783998.us-east4.run.app/models?feature=imagen) [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)

Ym2 - V1 FAQ
---

### What is Ym2 - V1?

Ym2 - V1 is a text to image AI model by ModelsLab available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

### How do I use the Ym2 - V1 API?

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

### How much does Ym2 - V1 cost?

Ym2 - V1 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 Ym2 - V1 model ID?

The model ID for Ym2 - V1 is "ym2-v1". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use Ym2 - V1?

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-08-27*