AI Image Generator - Text to Image New
Pricing
from $0.00005 / actor start
AI Image Generator - Text to Image New
Generate stunning AI images from text prompts. Create high-quality images using advanced AI models with support for multiple aspect ratios and customizable settings.
Pricing
from $0.00005 / actor start
Rating
0.0
(0)
Developer
Akash Kumar Naik
Actor stats
0
Bookmarked
4
Total users
3
Monthly active users
21 hours ago
Last modified
Categories
Share
AI Image Generator
Generate stunning AI images from text prompts using 12 advanced AI models. Create high-quality images with support for multiple aspect ratios and fast processing.
What is AI Image Generator?
AI Image Generator transforms your creative ideas into visual masterpieces using state-of-the-art AI models. Choose from NVIDIA, OpenAI, Google, Wan, Qwen, Flux-2, Ideogram, Alibaba, and ByteDance models.
Supported AI Models
| Model | Provider | Access | Supported Aspect Ratios |
|---|---|---|---|
nvidia-flux-2-klein | NVIDIA | Free | 1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21, 3:2, 2:3, 2:1, 1:2 |
gpt-image-2 | OpenAI | Paid | 1:1, 16:9, 9:16, 4:3, 3:4 |
wan-2-7-image | Wan | Paid | Fixed 2K resolution |
wan-2-7-image-pro | Wan | Paid | Fixed 2K resolution |
qwen-text-to-image | Qwen | Paid | 1:1, 16:9, 9:16, 4:3, 3:4 |
nano-banana-2 | Paid | 1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21, 3:2, 2:3 + more | |
flux-2-pro-text-to-image | Flux-2 | Paid | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 |
ideogram-v3 | Ideogram | Paid | 1:1, 16:9, 9:16, 4:3, 3:4 |
z-image | Alibaba | Paid | 1:1, 16:9, 9:16, 4:3, 3:4 |
nano-banana-pro | Paid | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 4:5, 5:4 | |
flux-2-flex-text-to-image | Flux-2 | Paid | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 |
seedream-3-0 | ByteDance | Paid | 1:1, 16:9, 9:16, 4:3, 3:4 |
Free users can only use nvidia-flux-2-klein. All other models require an Apify paid plan.
Features
- 12 AI Models: NVIDIA, OpenAI, Google, Wan, Qwen, Flux-2, Ideogram, Alibaba, ByteDance
- Multiple Aspect Ratios: From 1:1 to 21:9 and specialty ratios
- Text-to-Image Generation: Create images from text prompts
- High-Quality Output: Generate images up to 2K resolution
- Fast Processing: Powered by leading AI infrastructure
- Pay Per Use: Simple pricing per image generated
Getting Started
Provide a text prompt, select an AI model, and optional aspect ratio to generate images.
Input Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
model | string | AI model to use (see supported models table) | nvidia-flux-2-klein |
prompt | string | Required. Text description of the image you want to generate | - |
ratio | string | Aspect ratio (varies by model - see supported ratios) | 1:1 |
Example Input (NVIDIA - Free Model)
{"model": "nvidia-flux-2-klein","prompt": "A beautiful sunset over mountains with vibrant orange and purple colors","ratio": "16:9"}
Example Input (Paid Models)
{"model": "gpt-image-2","prompt": "A majestic lion in golden savanna at sunset","ratio": "1:1"}
{"model": "nano-banana-2","prompt": "Professional product photography of a leather watch","ratio": "4:3"}
Example Output
{"ok": true,"model": "nvidia-flux-2-klein","prompt": "A majestic lion in golden savanna at sunset","ratio": "1:1","width": 1024,"height": 1024,"imageUrl": "https://api.apify.com/v2/key-value-stores/...","savedImageKey": "generated-image.png"}
Supported Aspect Ratios
| Ratio | Dimensions | Best For |
|---|---|---|
| 1:1 | 1024x1024 | Social media posts, square images |
| 16:9 | 1184x672 | Landscape photos, videos, presentations |
| 9:16 | 672x1184 | Stories, vertical content, TikTok |
| 4:3 | 1184x880 | Classic photo format |
| 3:4 | 880x1184 | Portrait photos |
| 21:9 | 1568x672 | Ultra-wide panoramic, cinematic |
| 9:21 | 672x1568 | Ultra-tall content |
| 3:2 | 1248x832 | Standard photo print |
| 2:3 | 832x1248 | Portrait print |
| 2:1 | 1456x720 | Cinematic wide |
| 1:2 | 720x1456 | Tall portrait |
Note: Not all models support all ratios. The actor will automatically adjust to the nearest supported ratio if an unsupported ratio is selected.
Environment Variables
| Variable | Description |
|---|---|
NVIDIA_API_KEY | API key for NVIDIA Flux 2 Klein model (required for nvidia-flux-2-klein) |
KIE_API_KEY | API key for KIE marketplace models (required for paid models) |
Note: The Actor automatically detects your Apify plan. Free users can only use nvidia-flux-2-klein. Paid models are restricted to Apify paid plan users.
Pricing
This Actor uses a Pay Per Event pricing model with a 24% profit margin:
| Model | KIE Cost | Your Price |
|---|---|---|
nvidia-flux-2-klein | (user's key) | Free |
gpt-image-2 | $0.060 | $0.11 |
wan-2-7-image | $0.024 | $0.043 |
wan-2-7-image-pro | $0.060 | $0.11 |
qwen-text-to-image | $0.0125 | $0.022 |
nano-banana-2 | $0.040 | $0.072 |
flux-2-pro-text-to-image | $0.025 | $0.045 |
ideogram-v3 | $0.060 | $0.11 |
z-image | $0.004 | $0.007 |
nano-banana-pro | $0.090 | $0.16 |
flux-2-flex-text-to-image | $0.055 | $0.11 |
seedream-3-0 | $0.030 | $0.054 |
Note:
nvidia-flux-2-kleinis free to use — users provide their own NVIDIA API key. All other models are powered by KIE API.
You only pay for successful image generations. No charges for failed runs.
Output
Images are stored in the Actor's key-value store and can be accessed via:
- imageUrl: Public CDN URL to view/download the generated image (S3-backed)
- savedImageKey: Key for accessing the image in the key-value store
The imageUrl is a permanent, publicly accessible URL that can be shared directly.
Keywords: AI image generator, text to image, AI art, NVIDIA Flux, GPT Image, Wan, Qwen, Google Imagen, Flux-2, Ideogram, Z-Image, Seedream, image synthesis, Apify actor, AI automation, digital art, AI photography