apicheats.dev Cheat sheet Raw .md
POST

Try POST /v1/flows/image — ElevenLabs API

ElevenLabs playground

Create Image Generation

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.elevenlabs.io; the proxy stores and logs nothing about them.

Body application/json

8 body fields
  • webhook · optional · object — Include to send the generation's result to the workspace's configured flows webhooks once it completes or fails. The webhook payload matches the terminal response of the corresponding GET endpoint.
  • prompt · required · string — A text description of the image to generate.
  • images · optional · object[] — Up to 5 reference images to edit or draw from.
  • mask · optional · object — An image whose fully transparent areas mark where the first reference image may be edited; requires `images`.
  • quality · optional · string — The quality of the output image.
  • background · optional · string — The background of the output image. With `auto`, the model picks the background that suits the image.
  • aspect_ratio · optional · string — The aspect ratio of the output image.
  • model_id · required · string — The model to use for the generation.