# Text to Image AI Models

> Generate images from text with GPT Image, Nano Banana, Seedream, FLUX, Qwen Image, Midjourney and more through one API.

Source: https://www.sandbase.ai/models/text-to-image

## Models

- [KwaiVGI Kling Image V4 Long Image](https://www.sandbase.ai/models/kwaivgi/kling-image/v4/long-image.md): `kwaivgi/kling-image/v4/long-image`; From $0.47 per run (15% off list price); Kling Image V4 Long Image by Kuaishou designs one complete ultra-tall image, such as an ecommerce product detail page from 1 to 3 product photos or a full webpage visual.
- [KwaiVGI Kling Image V4](https://www.sandbase.ai/models/kwaivgi/kling-image/v4.md): `kwaivgi/kling-image/v4`; From $0.05 per run (15% off list price); Kling Image V4 by Kuaishou generates photorealistic images with accurate text rendering from a text prompt at native 2K, 4K or 8K resolution.
- [MiniMax H3 Image Highspeed Text to Image](https://www.sandbase.ai/models/minimax/h3-image-highspeed.md): `minimax/h3-image-highspeed`; From $0.05 per run; MiniMax H3 Image Highspeed is the faster version of MiniMax's H3 image generation model, with the same prompt enhancement, aspect ratios from 1:3 to 3:1 and 1K, 2K or 4K output at lower latency.
- [MiniMax H3 Image Text to Image](https://www.sandbase.ai/models/minimax/h3-image.md): `minimax/h3-image`; From $0.03 per run; MiniMax H3 Image is MiniMax's flagship image generation model from the H3 family, turning text prompts into detailed, photorealistic images with built-in prompt enhancement, aspect ratios from 1:3 to ...
- [ByteDance Seedream 5.5 Text to Image](https://www.sandbase.ai/models/bytedance/seedream/5.5.md): `bytedance/seedream/5.5`; From $0.04 per run; Seedream 5.5 by ByteDance generates photorealistic images from text prompts, with accurate small and multilingual text and native transparent-background (RGBA) output. Choose 1K, 1.5K or 2K resolution...
- [Ideogram 4.5 Text to Image](https://www.sandbase.ai/models/ideogram/4.5.md): `ideogram/4.5`; From $0.06 per run; Ideogram 4.5 generates images from a text prompt, with reliable text rendering and polished graphic design output.
- [BFL Flux 3 Text to Image](https://www.sandbase.ai/models/bfl/flux-3/text-to-image.md): `bfl/flux-3/text-to-image`; From $0.05 per run; FLUX 3 by Black Forest Labs generates images from a text prompt, with strong prompt adherence and typography at 512px to 4K resolution tiers.
- [xAI Grok Imagine Image Quality Text to Image](https://www.sandbase.ai/models/xai/grok-imagine-image/quality.md): `xai/grok-imagine-image/quality`; From $0.05 per run; Grok Imagine Image Quality by xAI - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial...
- [HiDream O1 Dev](https://www.sandbase.ai/models/hidream-ai/hidream-o1/dev.md): `hidream-ai/hidream-o1/dev`; $0.02 per run; Hidream O1 Dev by hidream-ai - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
- [Alibaba Z Image Base](https://www.sandbase.ai/models/alibaba/z-image/base.md): `alibaba/z-image/base`; $0.01 per run; Z Image Base by Alibaba - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
- [Tencent Hunyuan Image 3.0 Text to Image](https://www.sandbase.ai/models/tencent/hunyuan-image/3.0.md): `tencent/hunyuan-image/3.0`; $0.10 per run; Hunyuan Image 3.0 is Tencent's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adher...
- [BFL Flux 2 Klein 4B Text to Image](https://www.sandbase.ai/models/bfl/flux-2/klein/4b.md): `bfl/flux-2/klein/4b`; $0.008 per run; Flux 2 Klein 4b is BFL's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.
- [Alibaba Qwen Image 2](https://www.sandbase.ai/models/alibaba/qwen-image-2.md): `alibaba/qwen-image-2`; From $0.04 per run; Alibaba Qwen Image 2 text-to-image model with high-quality generation and configurable output format.
- [Recraft V4.1 Utility](https://www.sandbase.ai/models/recraft/recraft/v4.1/utility.md): `recraft/recraft/v4.1/utility`; From $0.04 per run; Recraft V4.1 Utility by Recraft - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial u...
- [Recraft V4.1](https://www.sandbase.ai/models/recraft/recraft/v4.1.md): `recraft/recraft/v4.1`; $0.04 per run; Recraft V4.1 by Recraft - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
- [BFL Flux 2 Flex Text to Image](https://www.sandbase.ai/models/bfl/flux-2/flex.md): `bfl/flux-2/flex`; From $0.06 per run; Flux 2 Flex is BFL's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.
- [BFL Flux 2 Max Text to Image](https://www.sandbase.ai/models/bfl/flux-2/max.md): `bfl/flux-2/max`; $0.07 per run; Flux 2 Max by BFL - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
- [BFL Flux 1 Schnell](https://www.sandbase.ai/models/bfl/flux-1/schnell.md): `bfl/flux-1/schnell`; $0.003 per run; Flux 1 Schnell by BFL - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
- [BFL Flux 2 Flash Text to Image](https://www.sandbase.ai/models/bfl/flux-2/flash.md): `bfl/flux-2/flash`; From $0.03 per run; Flux 2 Flash by BFL - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
- [BFL Flux 2 Turbo Text to Image](https://www.sandbase.ai/models/bfl/flux-2/turbo.md): `bfl/flux-2/turbo`; $0.04 per run; Flux 2 Turbo by BFL - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
- [BFL Flux 2 Dev Text to Image](https://www.sandbase.ai/models/bfl/flux-2/dev.md): `bfl/flux-2/dev`; $0.01 per run; Flux 2 Dev by BFL - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
- [Ideogram 3.0 Text to Image](https://www.sandbase.ai/models/ideogram-ai/ideogram-v3.md): `ideogram-ai/ideogram-v3`; From $0.06 per run; 3.0 is Ideogram's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.
- [BFL Flux 2 Klein 9B Text to Image](https://www.sandbase.ai/models/bfl/flux-2/klein/9b.md): `bfl/flux-2/klein/9b`; $0.01 per run; Flux 2 Klein 9b is BFL's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.
- [BFL Flux 2 Pro Text to Image](https://www.sandbase.ai/models/bfl/flux-2/pro.md): `bfl/flux-2/pro`; $0.03 per run; Flux 2 Pro by BFL - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
- [ByteDance Seedream 4.5 Text to Image](https://www.sandbase.ai/models/bytedance/seedream/4.5.md): `bytedance/seedream/4.5`; $0.02 per run (40% off list price); A new-generation image creation model from ByteDance, Seedream 4.5 integrates text-to-image generation and image editing into a single unified architecture, delivering high-fidelity visuals, precise p...
- [ByteDance Seedream 5.0 Lite Text to Image](https://www.sandbase.ai/models/bytedance/seedream/5.0/lite.md): `bytedance/seedream/5.0/lite`; $0.04 per run; Seedream 5.0 Lite — Fast Text-to-Image API The lightweight version of Seedream 5.0, delivering high-quality, low-latency AI image generation from text prompts. Ideal for real-time creative tools, e-co...
- [OpenAI GPT Image 1.5 Text to Image](https://www.sandbase.ai/models/openai/gpt-image-1.5.md): `openai/gpt-image-1.5`; From $0.14 per run; Gpt Image 1.5 is OpenAI's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.
- [Alibaba Wan 2.5 Text to Image](https://www.sandbase.ai/models/alibaba/wan/2.5/text-to-image.md): `alibaba/wan/2.5/text-to-image`; From $0.05 per run; Wan 2.5 is Alibaba's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.
- [Z-Image Turbo Text to Image](https://www.sandbase.ai/models/z-image/turbo.md): `z-image/turbo`; $0.01 per run; Turbo is Z-Image's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.
- [Alibaba Wan 2.6 Text to Image](https://www.sandbase.ai/models/alibaba/wan/2.6/text-to-image.md): `alibaba/wan/2.6/text-to-image`; From $0.03 per run; Alibaba Wan 2.6 text-to-image model with high-quality generation and selectable aspect ratio.
- [KwaiVGI Kling Image O3 Text to Image](https://www.sandbase.ai/models/kwaivgi/kling-image/o3.md): `kwaivgi/kling-image/o3`; From $0.02 per run (30% off list price); Kling Image O3 by Kuaishou generates images from a text prompt at 1K, 2K, or 4K resolution in common aspect ratios.
- [Alibaba Wan 2.7 Pro Text to Image](https://www.sandbase.ai/models/alibaba/wan/2.7/pro/text-to-image.md): `alibaba/wan/2.7/pro/text-to-image`; From $0.07 per run; Alibaba Wan 2.7 Pro text-to-image model with enhanced quality and selectable aspect ratio.
- [Alibaba Wan 2.7 Text to Image](https://www.sandbase.ai/models/alibaba/wan/2.7/text-to-image.md): `alibaba/wan/2.7/text-to-image`; From $0.03 per run; Alibaba Wan 2.7 text-to-image model with high-quality generation and selectable aspect ratio.
- [Google Nano Banana Pro Text to Image](https://www.sandbase.ai/models/google/nano-banana-pro.md): `google/nano-banana-pro`; From $0.11 per run (15% off list price); Nano Banana Pro is Google's new state-of-the-art image generation and editing model
- [Midjourney V8.1](https://www.sandbase.ai/models/midjourney/midjourney-v8.1.md): `midjourney/midjourney-v8.1`; From $0.10 per run; Midjourney V8.1 text-to-image generation.
- [Google Nano Banana 2 Text to Image](https://www.sandbase.ai/models/google/nano-banana-2.md): `google/nano-banana-2`; From $0.06 per run (15% off list price); Nano Banana 2 is Google's new state-of-the-art fast image generation and editing model
- [Google Nano Banana 2 Lite Text to Image](https://www.sandbase.ai/models/google/nano-banana-2-lite.md): `google/nano-banana-2-lite`; $0.03 per run; Nano Banana 2 Lite by Google - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
- [Alibaba Qwen Image 3 Text to Image](https://www.sandbase.ai/models/alibaba/qwen-image-3/text-to-image.md): `alibaba/qwen-image-3/text-to-image`; From $0.04 per run; Qwen Image 3 by Alibaba - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
- [ByteDance Seedream 5.0 Pro Text to Image](https://www.sandbase.ai/models/bytedance/seedream/5.0/pro.md): `bytedance/seedream/5.0/pro`; From $0.07 per run (20% off list price); Seedream 5.0 Pro by Bytedance - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use...
- [xAI Grok Imagine Image 2.0 Text to Image](https://www.sandbase.ai/models/xai/grok-imagine-image/2.0/text-to-image.md): `xai/grok-imagine-image/2.0/text-to-image`; From $0.06 per run; Grok Imagine Image 2.0 by xAI - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use...
- [ByteDance Seedream 5.0 Flash Text to Image](https://www.sandbase.ai/models/bytedance/seedream/5.0/flash.md): `bytedance/seedream/5.0/flash`; $0.01 per run (20% off list price); Seedream 5.0 Flash is ByteDance's fast, low-cost Seedream 5.0 tier for high-volume text-to-image generation, with roughly 15–20 second turnaround and one flat price per image.
- [Google Nano Banana 2.1 Text to Image](https://www.sandbase.ai/models/google/nano-banana-2.1.md): `google/nano-banana-2.1`; From $0.03 per run (15% off list price); Nano Banana 2.1 is Google's latest fast image generation model, with better prompt adherence, cleaner text rendering, extreme aspect ratios and 1K to 4K output.
- [OpenAI GPT Image 2 Text to Image](https://www.sandbase.ai/models/openai/gpt-image-2.md): `openai/gpt-image-2`; From $0.17 per run (25% off list price); GPT Image 2, OpenAI's latest image model, is capable of making fine-grained, detailed edits to images.
- [OpenAI GPT Image 2.5 Sunburst Text to Image](https://www.sandbase.ai/models/openai/gpt-image-2.5-sunburst.md): `openai/gpt-image-2.5-sunburst`; From $0.07 per run (25% off list price); GPT Image 2.5 Sunburst prioritizes visual fidelity and precision for complex image generation workflows.
- [OpenAI GPT Image 2.5 Flare Text to Image](https://www.sandbase.ai/models/openai/gpt-image-2.5-flare.md): `openai/gpt-image-2.5-flare`; From $0.07 per run (25% off list price); GPT Image 2.5 Flare is optimized for fast, high-quality image generation for everyday creative workflows.
- [OpenAI GPT Image 2.6 Sunburst Text to Image](https://www.sandbase.ai/models/openai/gpt-image-2.6-sunburst.md): `openai/gpt-image-2.6-sunburst`; From $0.07 per run (25% off list price); GPT Image 2.6 Sunburst prioritizes detail and precision for complex image generation workflows.
- [OpenAI GPT Image 2.6 Flare Text to Image](https://www.sandbase.ai/models/openai/gpt-image-2.6-flare.md): `openai/gpt-image-2.6-flare`; From $0.07 per run (25% off list price); GPT Image 2.6 Flare is optimized for fast, high-quality image generation, with improved layout quality for posters, product imagery, and other professional visuals.
- [Ideogram 4.6 Text to Image](https://www.sandbase.ai/models/ideogram/4.6.md): `ideogram/4.6`; From $0.06 per run; Ideogram 4.6 generates images with reliable text rendering and polished graphic design, with four quality levels from very_low to high.
- [Microsoft MAI Image 2.7 Text to Image](https://www.sandbase.ai/models/microsoft/mai-image-2.7.md): `microsoft/mai-image-2.7`; From $0.07 per run; MAI Image 2.7 by Microsoft turns a text prompt into a high-quality image, with optional transparent background.
- [Microsoft MAI Image 2.7 Flash Text to Image](https://www.sandbase.ai/models/microsoft/mai-image-2.7-flash.md): `microsoft/mai-image-2.7-flash`; From $0.03 per run; MAI Image 2.7 Flash by Microsoft turns a text prompt into a high-quality image, with optional transparent background.

## Overview

### From prompt to image

Text-to-image models create a new image from a written prompt. Current models handle long, detailed prompts, legible in-image text and a wide range of aspect ratios, with output up to 4K on several families.

#### How to choose

- **Precision and text rendering:** [GPT Image](https://www.sandbase.ai/models/gpt-image) Sunburst tiers and Nano Banana Pro target detailed, instruction-heavy prompts.
- **Speed and volume:** Flash, Lite and Turbo tiers, such as Nano Banana 2 Lite, Seedream 5.0 Flash and FLUX.2 Turbo, suit batch generation.
- **Lighter models:** FLUX.2 Dev and Klein, Qwen Image and Z-Image Turbo cover fast, lower-cost generation.

To change an existing picture instead, use [image editing models](https://www.sandbase.ai/models/image-editing). Our shortlist is on [Best AI Image Models](https://www.sandbase.ai/models/best-image-models).

## Start using Text to Image AI Models on SandBase

One API key and one request shape for every model on this page.

1. **Create an API key** Sign in to the SandBase Console and create a key on the API Keys page. Keep it in an environment variable and never commit it to source control.

```
export SANDBASE_API_KEY="YOUR_SANDBASE_API_KEY"
```

2. **Submit a run** Send a request to the Unified Run API with model openai/gpt-image-2. Only the model field changes between models on this page.

```
curl https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "openai/gpt-image-2", "prompt": "A candid photograph of an elderly sailor adjusting a rope on a small fishing boat, overcast light, film grain"}'
```

3. **Fetch the result** The response includes a run id. Poll it every few seconds until the status is completed, then download the output URL.

```
curl https://api.sandbase.ai/v1/run/$RUN_ID \
  -H "Authorization: Bearer $SANDBASE_API_KEY"
```

## FAQ

### Which text-to-image model is best for text inside images?

GPT Image and Nano Banana models are described as strong at in-image text and layout. Test your exact copy on two or three models; the request shape is the same.

### What resolutions are supported?

It varies by model. Nano Banana 2.1, Seedream and Kling Image O3 list 1K–4K output; GPT Image 2.5 supports up to 3840×2160. Each model page lists its size options.

### Are images generated synchronously?

Some models return the image in the same response; most run as jobs on POST /v1/run that you poll by id. The model page shows the execution mode.

### Can I use the images commercially?

Usage terms come from each model provider. Check the provider’s terms for your use case before shipping generated images.

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
