Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Create a FLUX 3 Video video task. Parameters are narrowed according to the current Tikway gateway capabilities; for differences between models, see operation description and x-model-capabilities.

model
enum<string>
required

FLUX 3 Video Model ID.

Available options:
flux-3-video
prompt
string

Video generation or editing prompt words.

Minimum string length: 1
duration

An integer of 5–20 seconds, or auto to let the model determine the duration based on content.

Required range: 5 <= x <= 20
aspect_ratio
enum<string>

Video aspect ratio. When producing videos, some models will automatically determine the proportions based on the input material.

Available options:
auto,
21:9,
2:1,
16:9,
4:3,
1:1,
3:4,
9:16
resolution
enum<string>

Output resolution. Available values ​​for different models or modes are shown in the model capabilities table.

Available options:
480p,
720p,
1080p
frame_images
object[]

First frame/last frame shortcut. For more keyframes, please pass 1–10 reference_images via input_references, or specify keyframes with time points in extra_body.keyframes.

Maximum array length: 2
input_references
object[]

Tusheng Video can transfer 1–10 reference_images as key frames; video continuation must and can only transfer 1 source_video or first_clip.

Maximum array length: 10
generate_audio
boolean

Whether to generate synchronized audio, the default is true.

callback_url
string<uri>

User task callback address. Called by Tikway after the task status changes, it is not directly passed to the model upstream.

Pattern: ^https://
extra_body
object

FLUX 3 Video native extension parameters.

Response

202 - application/json

POST /v1/videos Response parameters after the video task is successfully created. The interface returns HTTP 202.

id
string
required

The unique identifier of the video generation task, used for subsequent query of task status.

Minimum string length: 1
Example:

"9552de3d-171f-4cca-b492-7baa56523239"

status
enum<string>
required

Task creation status. pending means that the task has been created and is waiting for submission; queue means that the task has entered the generation queue.

Available options:
pending,
queue
Example:

"queue"

polling_url
string<uri>
required

Video task query address, the client can poll the task status through GET request.

Pattern: ^https://
Example:

"https://api.example.com/v1/videos/9552de3d-171f-4cca-b492-7baa56523239"