# Connect API: Image editing is now available, powered by Canva Craft

**URL:** <https://community.canva.dev/t/connect-api-image-editing-is-now-available-powered-by-canva-craft/9163>\
**Category:** Announcements\
**Tags:** apps-in-canva, rest-api, product-update, news\
**Created:** [November 27, 2026, 5:51am UTC](https://community.canva.dev/t/connect-api-image-editing-is-now-available-powered-by-canva-craft/9163 "2026-11-27T05:51:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chuang\_Liu](https://avatars.discourse-cdn.com/v4/letter/c/5f8ce5/32.png) [@Chuang\_Liu](https://community.canva.dev/u/Chuang_Liu)\
**Post date:** [November 27, 2026, 5:51am UTC](https://community.canva.dev/t/connect-api-image-editing-is-now-available-powered-by-canva-craft/9163/1 "2026-11-27T05:51:25Z")

</div>

The Connect API image generation endpoint can now edit an image, not only generate one from text. Give it an image and describe the change, and you get a new image back through the same job flow you already use. Add reference images and the prompt can refer to them: a logo to place on a product, a style to match, a person to keep consistent.

Editing is powered by Canva Craft (CRAFT-1 2K), the image model from [Canva Research](https://www.canva.com/newsroom/news/canva-craft/), the same model behind image editing in Dream Lab.

**What’s new**

- A new optional `images` field on `POST /v1/image-generations`. It takes 1 to 12 images. The first image is the one to edit. Any further images are references the prompt can refer to by position (“the logo in the second image”).
- Each image is either a publicly accessible HTTPS URL to a JPEG or PNG (up to 50 MB), or an image asset from the user’s Canva account by `asset_id`.
- Set `model` to `craft_v1_2k`. It is the only model that accepts input images today. A request with `images` and another model, or no model, returns a `400`.
- Leave out `aspect_ratio` and the edited image keeps the shape of the first image. Set it to force a different shape.

**How to use it**

Same endpoint, same polling. Put the image to edit first and describe the change:

```json
POST /v1/image-generations
{
  "prompt": "Put the logo from the second image on the side of the coffee cup. Keep the lighting and the background as they are.",
  "model": "craft_v1_2k",
  "images": [
    { "type": "url", "url": "https://example.com/images/coffee-cup.png" },
    { "type": "url", "url": "https://example.com/images/logo.png" }
  ],
  "idempotency_key": "6c0d1a2e-9f3b-4b7a-8c2d-5e1f0a9b3c47"
}

```

Then poll `GET /v1/image-generations/{jobId}` until `status` is `success`. The download URL is valid for 24 hours, or set `asset_upload.type` to `upload` to save the result to the user’s uploads.

To edit an image that is already in the user’s Canva account, use an asset input instead of a URL:

```json
"images": [{ "type": "asset", "asset_id": "MAHcD13yglw" }]

```

Asset inputs need a user access token with the `asset:read` scope as well as `asset:write`. URL inputs work with any token the endpoint accepts, including service apps.

 ![poster_v2](https://us1.discourse-cdn.com/canva/original/2X/a/af49673f4e1413e530b635b7ecdb69e24b2b206b.jpeg)

_This poster was made with Craft on the Connect API: generated from a prompt, then the label was changed with one `images` edit._

**Usage notes**

- Edits take longer than text-to-image. Expect roughly 30 to 60 seconds for one or two input images, longer with more references. Poll with backoff.
- For public and private apps, starting a job uses the user’s AI credits, as with generation. For service apps, an edit is 3 credits per 2K image including the first input image, plus 0.6 credits for each additional input image. See the [credit rates](https://www.canva.dev/docs/apps/rest-apis/credit-rates/).
- A URL must be fetchable without extra request headers. If an input image can’t be downloaded, the job fails with `internal_error` and the message “An input image could not be downloaded”, and the credits are returned.
- Asset inputs return `404 asset_not_found` for an asset the user can’t read, `400 unsupported_content_type` for a non-image asset, and `400 asset_not_ready` while an upload is still importing.
- Prompts, input images and outputs go through the same safety checks as generation. Rejected content returns `unsafe_input`.

**Docs & details**

- Guide: [Edit an image](https://www.canva.dev/docs/apps/rest-apis/generate-images-with-craft/#edit-an-image)
- How input images work: [Image editing](https://www.canva.dev/docs/apps/rest-apis/reference/generations/#image-editing)
- Reference: [Create image generation job](https://www.canva.dev/docs/apps/rest-apis/reference/generations/create-image-generation-job/) and [Get image generation job](https://www.canva.dev/docs/apps/rest-apis/reference/generations/get-image-generation-job/)
- [Credit rates](https://www.canva.dev/docs/apps/rest-apis/credit-rates/)

**Reminder**

The image generation APIs are in preview, so breaking changes may happen. Model additions, including more models that accept `images`, are announced in the [Changelog](https://www.canva.dev/docs/apps/rest-apis/changelog/).

**Feedback & questions**

Reply on this thread with feedback or questions. We’d love to see what you edit with it.
