Unitalk AI icon

Unitalk AI

Consume Open AI

Actions5

Image → Create

AI-generated

Summary

Generates one or more images based on a text prompt via the Unitalk AI API.

Inputs

  • prompt (required) — A text description of the desired image(s). Maximum length is 1000 characters.
  • model — The DALL-E model to use (dall-e-2 or dall-e-3). Automatically loads available models from the API.
  • imageModel — The DALL-E model to use (dall-e-2 or dall-e-3). Automatically loads available models from the API. (Available when version 1 is not selected).
  • responseFormat — The format in which to return the image(s): Binary File (default) or Image Url.
  • options — Additional options including Number of Images (1-10), Quality (HD/Standard, for DALL-E 3), Resolution (varies by model), and Style (Natural/Vivid, for DALL-E 3).
  • requestOptions — Request-level settings such as Batch Size/Interval, SSL verification, Proxy, and Timeout.

Output shape

One or more items, each containing the generated image data.

When 'Image Url' is selected, the result is returned as a URL string. When 'Binary File' is selected (default), images are decoded from base64 and stored in the 'binary.data' field. Supports multi-image generation via the 'Number of Images' option.

Examples

Example 1: Generate a single high-definition image using DALL-E 3

Prompt: 'A futuristic city with flying cars'; Model: 'dall-e-3'; Response Format: 'Binary File'; Options: Quality 'HD', Style 'Vivid'.

Example 2: Generate multiple image variations using DALL-E 2

Prompt: 'A cute cat eating a dinosaur'; Model: 'dall-e-2'; Options: Number of Images '3', Resolution '1024x1024'.

Example 3: Retrieve images as direct URLs

Prompt: 'A serene mountain landscape'; Model: 'dall-e-2'; Response Format: 'Image Url'.

Links

Discussion