ContentStudio icon

ContentStudio

Integrate with ContentStudio API

Actions44

AI Image → Generate

AI-generated

Summary

Generate an AI image from a text prompt, or edit a base image when an Image URL is provided. Text-to-image generation can use the workspace’s default or a selected model, apply workspace brand knowledge, set dimensions, and optionally enhance the prompt.

Inputs

  • Workspace ID (required) — Workspace in which to generate the image.
  • Prompt (required) — Text describing the image to generate; up to 1,000 characters.
  • Image URL — Optional base image URL. Providing it switches to image-to-image editing; brand and dimensions do not apply, and brand_applied is false on this branch.
  • Model — Optional model key from List Models. Leave empty to use the workspace default.
  • Use Brand — Whether to apply workspace brand knowledge during text-to-image generation. The brand is resolved server-side; this option is ignored when an Image URL is provided.
  • Dimensions — Text-to-image size: Default, Square, Square HD, Portrait 4:5, or Landscape 16:9. An image edit keeps the base image geometry.
  • Enhance Prompt — Whether the AI should enhance or expand the prompt before generation.

Output shape

A generated image result returned by the API.

The supplied source pack shows the operation declarations but not the execution handler body, so the precise response fields and whether the result includes an image URL or other metadata are not available here.

Links

Discussion