Skip to main content

Welcome

Use AI Platform OpenAPI to create images and videos asynchronously, then poll with task_id until the task completes. Available models (always check the model catalog):

API base URL

OpenAPI is served on the same origin as the console. Examples in these docs use:
The API keys tab shows that origin (no path):
API paths start with /v1. On your own domain, replace the host with the current site origin and keep the paths.

Generate images

GPT Image 2 async generation

Generate videos

Seedance async generation

Authentication

Except for the model catalog, send:
Create keys in the console API keys tab.