The camera zooms in, a video of a young woman with long, dark hair and bangs. She is wearing a light gray t-shirt and appears to be sitting at a table.
negative_prompt
string
optional
Description of elements to avoid in the generated video
Example:
chaotic, distortion, morphing
start_image
string
required
URL or base64 encoded image to transform into video, used as first frame
Example:
https://i.ibb.co/wbw9GLY/girl.webp
end_image
string
optional
URL or base64 encoded image to transform into video, used as end frame
Example:
https://i.ibb.co/wbw9GLY/girl.webp
duration
integer
optional
The duration (in seconds) of the generated video
>= 10<= 30
Default:
10
config
object
optional
webhook_config
object
optional
Example
{"model":"Qubico/framepack","task_type":"img2video","input":{"prompt":"The camera zooms in, a video of a young woman with long, dark hair and bangs. She is wearing a light gray t-shirt and appears to be sitting at a table.","negative_prompt":"chaotic, distortion, morphing","start_image":"https://i.ibb.co/wbw9GLY/girl.webp","end_image":"https://i.ibb.co/wbw9GLY/girl.webp","duration":10}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.piapi.ai/api/v1/task' \
--header'x-api-key;' \
--header'Content-Type: application/json' \
--data-raw'{
"model": "Qubico/framepack",
"task_type": "img2video",
"input": {
"prompt": "The camera zooms in, a video of a young woman with long, dark hair and bangs. She is wearing a light gray t-shirt and appears to be sitting at a table.",
"negative_prompt": "chaotic, distortion, morphing",
"start_image": "https://i.ibb.co/wbw9GLY/girl.webp",
"end_image": "https://i.ibb.co/wbw9GLY/girl.webp",
"duration": 10
}
}'