Run a Forma AI image transform
Generative image operations powered by Forma AI: edit, generate, upscale, background-replace, style-transfer, and outpaint. Returns the produced image as a saved stored_files row. Pro plan and above.
Authorizations
Dashboard-generated Convertly API key. Keys currently begin with cvly_.
Body
Transform operation to apply. image.generate does not require a source image; all others do.
image.edit, image.generate, image.upscale, image.background-replace, image.style-transfer, image.outpaint Instruction for the transform. Required for editing operations.
2000Image upload. Used when the source is not yet in your library.
Reference an existing file in your library as the source.
Public HTTPS image URL. Private networks and credentialed URLs are rejected.
Output aspect ratio. Most useful for image.generate, which has no source to inherit dimensions from.
1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9 When true, the job is enqueued and the response returns a job id immediately. Poll GET /api/ai/transform/jobs/{jobId} for the result.