Text to Image Generator avatar

Text to Image Generator

Try for free

No credit card required

Go to Store
Text to Image Generator

Text to Image Generator

datastorm/text-to-image
Try for free

No credit card required

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.

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.

Developer
Maintained by Community

Actor Metrics

  • 8 monthly users

  • 1 star

  • >99% runs succeeded

  • Created in Jan 2025

  • Modified 21 days ago