AI Image Generator - Text to Image avatar

AI Image Generator - Text to Image

Pricing

from $0.00005 / actor start

Go to Apify Store
AI Image Generator - Text to Image

AI Image Generator - Text to Image

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

47

Total users

25

Monthly active users

12 days ago

Last modified

Share

AI Image Generator

Generate stunning AI images from text prompts using the powerful NVIDIA Flux 2 Klein AI model. Create high-quality images with support for multiple aspect ratios and fast processing.

What is AI Image Generator?

AI Image Generator is a text-to-image generation tool that transforms your creative ideas into visual masterpieces. Simply describe what you want to see, and the advanced Flux 2 Klein AI model will generate a corresponding image in seconds.

Features

  • Text-to-Image Generation: Create images from text prompts using NVIDIA's Flux 2 Klein model
  • 11 Aspect Ratios: Support for 1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21, 3:2, 2:3, 2:1, 1:2
  • High-Quality Output: Generate images optimized for each aspect ratio (672-1568px)
  • Fast Processing: Powered by NVIDIA's AI infrastructure
  • Pay Per Use: Simple pricing at $0.001 per image generated

Use Cases

  • Digital Art Creation: Generate unique artwork, illustrations, and concept art
  • Marketing & Social Media: Create eye-catching visuals for campaigns
  • Product Photography: Generate product mockups and lifestyle shots
  • Content Creation: Produce images for blogs, websites, and presentations
  • Creative Projects: Explore AI-generated visuals for any creative need

Getting Started

Simply provide a text prompt and optional aspect ratio to generate images. See the Input Parameters section below for details.

Input Parameters

ParameterTypeDescriptionDefault
promptstringRequired. Text description of the image you want to generate-
ratiostringAspect ratio (1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21, 3:2, 2:3, 2:1, 1:2)1:1

Example Input

{
"prompt": "A beautiful sunset over mountains with vibrant orange and purple colors",
"ratio": "16:9"
}

Example Output

{
"ok": true,
"imageUrl": "https://api.apify.com/v2/key-value-stores/...",
"savedImageKey": "generated-image.png",
"imageBase64": "data:image/png;base64,iVBORw0KGgoAAAANS..."
}

Supported Aspect Ratios

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

Pricing

This Actor uses a Pay Per Event pricing model:

EventDescriptionPrice
imageGeneratedSuccessfully generated one AI image$0.001

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 URL to view/download the generated image
  • savedImageKey: Key for accessing the image in the key-value store
  • imageBase64: Base64-encoded image data (useful for local development)

Keywords: AI image generator, text to image, AI art, NVIDIA Flux, image synthesis, Apify actor, AI automation, digital art, AI photography