1. Tasks
  2. Generate Image

Tasks

Generate Image

This task is used to generate an image from a text prompt.

Example Uses

  • Use this to auto create a logo for a company / division
  • Use this to generate a picture for a PDF document generated by the generate_pdf task
  • Use this to generate a picture for a newsletter email automatically from the email content
  • Use this to welcome a new user with a personalized image
  • Use this to generate an avatar for a user based on their profile information

Detailed Description

This task uses diffusion models to generate images from text prompts.
Examples of text prompts include text describing exactly what image you would like to generate.
Try to be as descriptive as possible to get the best results.
Indicate the type of image you require eg. logo, banner, photo, painting, marketing material, etc.

Basic usage

loading...

Parameters

prompt
required
string

The text prompt to generate the image from.


model
optional
string

The text to image model to use.

Default: dall-e-3


filename
optional
string

The name of the generated image file.


size
optional
string

The size of the generated image.

One Of: 1024x1024 | 1024x1792 | 1792x1024


quality
optional
string

The quality of the generated image.

One Of: standard | hd


disable_model_response
optional
string

If this is set to true, the model will not post the image on the stub.
The image will still be available on the original stubpost in the task payload.


Result

loading...

Result

white cat on hood