---
title: M1 API | Text to Image | ModelsLab
description: Generate images from text with M1. High-resolution AI image generation. Plans from $21/month.
url: https://modelslab.com/models/modelslab/m1.md
canonical: https://modelslab.com/models/modelslab/m1
type: product
component: Playground/Endpoint/Index
generated_at: 2026-08-01T15:45:15.648728Z
---

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

[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.

`m1`

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

Endpoint:Select Endpoint

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

m1

Width 

Height 

Advanced Settings Customize your input with more control.

Configure

Login 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

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.

[![Flux Dev](https://images.modelslab.sh/?Image=https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/livewire-tmp/INUhOmK2vRypASxSSePFMDbbUqKXQs-metaMC0yNWU4MGE5ZC03Yjc4LTRmYWQtODI4Zi0xNTI4ZmZjOThlNzMuanBn-.jpg)Popular](https://modelslab.com/models/modelslab/flux)[ModelsLab](https://modelslab.com/models/modelslab)

 [Flux Dev

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

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

 [Gemini 2.5 Flash (nano banana)

Closed Source Model](https://modelslab.com/models/google/nano-banana)

[![Imagen 4](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/6570e8e8-45e4-4dd8-a636-0fd599ad306b.webp)](https://modelslab.com/models/google/imagen-4)[Google](https://modelslab.com/models/google)

 [Imagen 4

Closed Source Model](https://modelslab.com/models/google/imagen-4)

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

 [Nano Banana Pro

Closed Source Model](https://modelslab.com/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.com/models/byteplus/seedream-5-lite-i2i)[BytePlus](https://modelslab.com/models/byteplus)

 [Seedream 5.0 Lite Image Edit

Closed Source Model](https://modelslab.com/models/byteplus/seedream-5-lite-i2i)

[![Imagen 3.0](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/8af88782-3a7a-4d95-9e6f-38c8a7b24b2a.webp)](https://modelslab.com/models/google/imagen-3)[Google](https://modelslab.com/models/google)

 [Imagen 3.0

Closed Source Model](https://modelslab.com/models/google/imagen-3)

### 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.com/models/xai/grok-imagine-image-t2i)[xAI](https://modelslab.com/models/xai)

 [Grok Imagine Text To Image](https://modelslab.com/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.com/models/alibaba_cloud/wan-2.7-i2i)[Alibaba](https://modelslab.com/models/alibaba_cloud)

 [Wan 2.7 Image Edit](https://modelslab.com/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.com/models/alibaba_cloud/wan-2.7-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 Image Models](https://modelslab.com/models?feature=imagen)

[![Black Myth: Wukong (Flux) - WuKong](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d04f1acd-b68d-4aab-91a9-752d6caa2bfd/width=800/30220301.jpeg)](https://modelslab.com/models/modelslab/black-myth-wukong-flux-wukong)[ModelsLab](https://modelslab.com/models/modelslab)

 [Black Myth: Wukong (Flux) - WuKong](https://modelslab.com/models/modelslab/black-myth-wukong-flux-wukong)

[![Kimmy The Cutie Witch - v1.0](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ff758298-1da6-44f7-8840-3d29862d7eba/original=true/108433427.mp4)](https://modelslab.com/models/modelslab/kimmy-the-cutie-witch-v1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [Kimmy The Cutie Witch - v1.0](https://modelslab.com/models/modelslab/kimmy-the-cutie-witch-v1-0)

[![Crystal texture - v1.0](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/829883cd-1f71-4020-8928-32e857078010/original=true/104020980.jpeg)](https://modelslab.com/models/modelslab/crystal-texture-v1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [Crystal texture - v1.0](https://modelslab.com/models/modelslab/crystal-texture-v1-0)

[![Underland Alice - v1.0 Flux](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/17baf1c9-cb08-49ad-bb77-667cb61a719c/width=1184/71636705.mp4)](https://modelslab.com/models/modelslab/underland-alice-v1-0-flux)[ModelsLab](https://modelslab.com/models/modelslab)

 [Underland Alice - v1.0 Flux](https://modelslab.com/models/modelslab/underland-alice-v1-0-flux)

[![Zigzag, the Grand Vizier - Flux v1.1](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/87fea2ed-09fc-4dbe-bcba-e7d506491fc7/original=true/53558242.jpeg)](https://modelslab.com/models/modelslab/zigzag-the-grand-vizier-flux-v1-1)[ModelsLab](https://modelslab.com/models/modelslab)

 [Zigzag, the Grand Vizier - Flux v1.1](https://modelslab.com/models/modelslab/zigzag-the-grand-vizier-flux-v1-1)

[![Atey Ghailan Style - Flux_V1](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/4dcd2199-5bd7-4f9c-ab0d-bf157fa7d348/width=984/32594656.jpeg)](https://modelslab.com/models/modelslab/atey-ghailan-style-flux-v1)[ModelsLab](https://modelslab.com/models/modelslab)

 [Atey Ghailan Style - Flux\_V1](https://modelslab.com/models/modelslab/atey-ghailan-style-flux-v1)

View all 18 related models

About M1
---

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

### Technical Specifications

Model IDm1

ProviderModelsLab

CategoryImage Models

TaskText to Image

Price$0.0047 per API call

AddedNovember 12, 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 M1 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": "m1",
        "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

M1 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)

M1 FAQ
---

### What is M1?

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

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

### How much does M1 cost?

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

The model ID for M1 is "m1". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use M1?

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-01*