Skip to main content
Generate AI images and videos, and upload files to your media library.

Generate image

Generate an AI image from a text prompt. This is an async operation — it returns a job ID. Use the Jobs endpoint to poll for completion. Rate limit: 10 requests per minute.

Request

Parameters

Valid model IDs

nano-banana, nano-banana-2, nano-banana-pro, gpt-image-2, gpt-image-1.5, gpt-image-1, gpt-image-1-mini, flux-2-pro, flux-1.1-pro, flux-1.1-ultra, recraft-v3, recraft-v4, recraft-v4-pro, ideogram-v2, ideogram-v3

Response


Generate video

Generate an AI video from a text prompt. This is an async operation. Rate limit: 10 requests per minute.

Request

Parameters

Valid video model IDs

Sora 2: sora-2-t2v, sora-2-i2v, sora-2-t2v-pro, sora-2-i2v-pro Veo 3.1: veo3.1, veo3.1/fast, veo3.1/image-to-video, veo3.1/fast/image-to-video Kling: kling-3.0-pro, kling-2.6-pro, kling-2.5-turbo-pro, kling-o3-standard, kling-2.1-master Luma Ray: luma-ray-2, luma-ray-2-flash Seedance: seedance-2.0, seedance-1.0-pro, seedance-1.0-lite Wan: wan-2.5, wan-2.1-pro, wan-2.1, wan-flf2v Other: vidu-q1, pixverse-v4.5, minimax-video-01, minimax-video-01-live, hunyuan-video

Response


Generate batch (1-4 images)

Generate multiple AI images in a single request. Use this for batch generation instead of multiple generate-image calls. Rate limit: 10 requests per minute.

Request

Parameters

Response

For quantity > 1, returns a group job ID:
For quantity === 1, returns a regular task:
Use the Jobs endpoint to poll for completion. For group jobs, the response includes a medias array with all generated images and their order field.

List image models

Returns all available image generation models with their capabilities.

List video models

Returns all available video generation models with their capabilities. Rate limit: 30 requests per minute.

Upload file

Upload an image or video file to your media library.

Request

Response

Returns a media object with id, path (URL), type (image/video), and size. Use the id in the Create Post endpoint to attach uploaded media to a post.