media

Vectorize Image

Changed on

Convert one image to SVG without a prompt (metered, Ideogram direct API).

post/media/vectorize

Request

  • Base URL
    https://api.moda.app/v1
  • URL
    https://api.moda.app/v1/media/vectorize
  • Auth
    HTTP bearer

Headers

Moda-Version'2026-04-12' | '2026-05-01'
Example:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Request body

imagestring required

file_ id or http(s) URL of the image to convert to SVG.

model'ideogram-vectorize'
mode'auto' | 'simple' | 'detailed'
idempotency_keystring nullable

A retried call with the same key replays the stored response (replayed:true) instead of paying for a second provider render.

Response

Successful Response

object required

Changes