AI Image Generator - Text to Image New avatar

AI Image Generator - Text to Image New

Pricing

from $0.00005 / actor start

Go to Apify Store
AI Image Generator - Text to Image New

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

Akash Kumar Naik

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

3

Monthly active users

21 hours ago

Last modified

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

ModelProviderAccessSupported Aspect Ratios
nvidia-flux-2-kleinNVIDIAFree1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21, 3:2, 2:3, 2:1, 1:2
gpt-image-2OpenAIPaid1:1, 16:9, 9:16, 4:3, 3:4
wan-2-7-imageWanPaidFixed 2K resolution
wan-2-7-image-proWanPaidFixed 2K resolution
qwen-text-to-imageQwenPaid1:1, 16:9, 9:16, 4:3, 3:4
nano-banana-2GooglePaid1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21, 3:2, 2:3 + more
flux-2-pro-text-to-imageFlux-2Paid1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3
ideogram-v3IdeogramPaid1:1, 16:9, 9:16, 4:3, 3:4
z-imageAlibabaPaid1:1, 16:9, 9:16, 4:3, 3:4
nano-banana-proGooglePaid1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 4:5, 5:4
flux-2-flex-text-to-imageFlux-2Paid1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3
seedream-3-0ByteDancePaid1: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

ParameterTypeDescriptionDefault
modelstringAI model to use (see supported models table)nvidia-flux-2-klein
promptstringRequired. Text description of the image you want to generate-
ratiostringAspect 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

RatioDimensionsBest For
1:11024x1024Social media posts, square images
16:91184x672Landscape photos, videos, presentations
9:16672x1184Stories, vertical content, TikTok
4:31184x880Classic photo format
3:4880x1184Portrait photos
21:91568x672Ultra-wide panoramic, cinematic
9:21672x1568Ultra-tall content
3:21248x832Standard photo print
2:3832x1248Portrait print
2:11456x720Cinematic wide
1:2720x1456Tall 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

VariableDescription
NVIDIA_API_KEYAPI key for NVIDIA Flux 2 Klein model (required for nvidia-flux-2-klein)
KIE_API_KEYAPI 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:

ModelKIE CostYour 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-klein is 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