The Canva Apps SDK, Connect APIs, and MCP are now unified in the Canva Developers SDK. Learn more⁠(opens in a new tab or window).
Canva Developers SDK
The Canva Apps SDK, Connect APIs, and MCP are now unified in the Canva Developers SDK. Learn more⁠(opens in a new tab or window).

generate-image

Generate a standalone image from a text prompt, or edit reference images.

Use generate-image to create photos, illustrations, stickers, icons, graphics, or 2D vectors, or to edit uploaded or generated images.

Example prompt

"Generate a watercolor illustration of a lighthouse at sunset."

Pass a prompt. To edit existing images, pass their media IDs in imageReferences.

Example response

IDs below are placeholders; field names and structure are exactly as returned.

This tool starts an asynchronous job.

{
"jobId": "job_EXAMPLE"
}
JSON

Returns a jobId. Pass it to get-generate-image-job to get the image.

Learn more