Skip to content

Introduction

Generate Seedance videos and GPT Image or Seedream images with one API key. Videos use asynchronous tasks and polling; images return in the same request or run as asynchronous tasks.

How it works

  1. Prepare your keyCreate a key under API keys in the console. It works for both video and image.
  2. Choose a modelList the video or image models available to your API key.
  3. Send a requestCreate a video task with /v1/videos, or call /v1/images/generations for images.
  4. Get the resultPoll video tasks every 3–5 seconds and read metadata.url; images return data[0].url in the response.

How requests work

TypeSubmitGet the result
VideoPOST /v1/videos creates an asynchronous taskPoll GET /v1/videos/{id} every 3–5 seconds, then read metadata.url
Image (synchronous)POST /v1/images/generations · /v1/images/editsdata[].url in the same response
Image (asynchronous)POST /v1/images/tasksPoll GET /v1/tasks/{id}, then read /artifacts

Send every request to https://ling-light.com with the Authorization: Bearer <API_KEY> header. Full parameters, value ranges and error codes for each endpoint are in the API reference.

Start here

Quickstart
An example from submitting a request to downloading the video.
Video generation
Generation modes, reference media, polling and downloads.
Image generation
GPT Image and Seedream generation, editing and asynchronous tasks.
API reference
Parameters, limits and error codes for every endpoint.
Models
Find models by name or vendor and check prices.
Last updated