English EN
API Reference
API Reference

Products and files

Finish image

POST / v1 / images / {upload_id} / finish

The last step of POST /v1/images, after your PUT to the upload_url. Checks the image, publishes it and returns its image_url. Use the image_url for:

An image block in content needs a file_id from POST /v1/files instead.

Changes at once MCP tool finish_image

Authorization

  • Authorization string header required

    Bearer tnt_… · A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Introduction

Path parameters

  • upload_id string required

    The upload_id from upload_image.

    max length 250 Example: "2c83c3215660ad75ee567ef4fa2d6289.png"

Response

Fields of the answer with status 200. Errors always have the same format, see Errors.

  • image_url string<uri>

    Use it in images, checkout_banner_url, cover_image_url or as img src in HTML.

  • size_bytes integer

    File size in bytes.

  • next_step string

    What to do next.

Start typing to search.