Back to API overview



API capability
Reference Image-to-Figure
Rebuild a scientific figure while matching the layout or visual language of a reference image.
POST /v1/images/generations · mode=generationsOutputScientific figure

InputReference

Request and response example
See the scientific input, asynchronous task response, and final output together.
RequestReference
ResponseScientific figure


POST /v1/images/generations
{
"mode": "generations",
"image_url": "https://…/reference.png",
"prompt": "replace content with JAK–STAT pathway"
}202 Accepted
{ "task_id": "tsk_01JZ9H8Q7A", "status": "processing" }
GET /v1/tasks/tsk_01JZ9H8Q7A
{ "status": "succeeded", "output_url": "https://…/jak-stat.png" }