Text to Image Generator avatar
Text to Image Generator

Pricing

Pay per usage

Go to Store
Text to Image Generator

Text to Image Generator

Developed by

Datastorm

Maintained by Community

Transform your text descriptions into stunning images using the power of FLUX AI. This versatile actor generates high-quality images from text prompts, perfect for content creators, designers, and developers who need quick, AI-generated visuals.

5.0 (1)

Pricing

Pay per usage

8

Monthly users

20

Runs succeeded

>99%

Last modified

3 months ago

Text-to-Image Generator

Generates images from text descriptions using the FLUX ai image generator. This actor takes a text prompt and optional parameters to generate customized images, returning them as base64-encoded data.

Features

  • Generate images from text descriptions
  • Customize image dimensions (64x64 to 2048x2048 pixels)
  • Optional AI prompt enhancement
  • Returns base64-encoded images
  • Stores results in Apify dataset

Input Parameters

The actor accepts the following input parameters via the input schema:

1{
2    "prompt": "A beautiful sunset over mountains",
3    "width": 1024,
4    "height": 768,
5    "enhance": true
6}
ParameterTypeDescriptionDefault
promptstringThe text description of the image you want to generate(Required)
widthintegerWidth of the generated image in pixels (64-2048)1024
heightintegerHeight of the generated image in pixels (64-2048)1024
enhancebooleanWhether to enhance the prompt using AItrue

Output

The actor stores its results in the default dataset. Each result contains:

1{
2    "prompt": "Original text prompt",
3    "image": "data:image/jpeg;base64,..."
4}

The image is returned as a base64-encoded data URL that can be directly used in HTML <img> tags or decoded back to binary data.

Pricing

Pricing model

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage.