تولید محتوا
POST /generation/create-video
Changed onایجاد درخواست تولید ویدیو
Request
- Base URLhttps://api.radinai.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.radinai.com/generation/create-video
- AuthAPI key in header x-api-key
Query parameters
webhookUrlstring
Your Webhook URL, if specified, the result of the generation will be POSTed to this URL.
demoMode'failure' | 'success'
This parameter is used when the api key mode is 'development', default value is 'success'.
when set to 'failure', the dummy generation will be 'failed' after a few seconds, if set to 'success', the dummy generation will be 'completed' after a few seconds.
Request body
Example request
{
"prompt": "<your-prompt>",
"images": [
"image download URL - or file name obtained from /upload endpoint"
],
"videos": [
"video download URL - or file name obtained from /upload endpoint"
],
"genElements": [
{
"images": [
"image download URL - or file name obtained from /upload endpoint"
],
"voices": [
"video download URL - or file name obtained from /upload endpoint"
]
}
]
}Response
Response for status 200
Changes
- info
the
/request property's maxLength was increased from5000to15000
- info
- info
added
subschema #1: کلینگ 4 اومنیsubschema #2: کلینگ 4 (keyframes)to the request bodyoneOflist
- info