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
Parameters
required string
prompt The text prompt to generate the image from.
optional string
model The text to image model to use.
Default: dall-e-3
optional string
filename The name of the generated image file.
optional string
size The size of the generated image.
One Of: 1024x1024
| 1024x1792
| 1792x1024
optional string
quality The quality of the generated image.
One Of: standard
| hd
optional string
disable_model_response 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.