Images API
Image endpoints support synchronous image creation and long-running asynchronous image tasks.
endpoint list
Choose an endpoint to open its dedicated reference page. On desktop, each endpoint page includes parameter reference, curl examples, and response examples.
| Method | Endpoint | Description |
|---|---|---|
POST | /api/v1/images | Create images in OpenRouter format, returning a URL or b64_json. |
POST | /api/v1/image-tasks | Create an asynchronous image generation task and poll polling_url for completion. |
GET | /api/v1/image-tasks/{image_task_id} | Query asynchronous image task status, artifacts, and billing summary. |