More modelsPikaV2.2 t2v
Generate video with pika/v2.2-t2v
Generates a video using the pika/v2.2-t2v model.
AuthorizationBearer <token>
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
modelstring
model name
size?string
The size of the generated media in pixels (width*height).
Value in
"1280*720" | "720*1280"
promptstring
The prompt for generating the output.
duration?string
The duration of the generated media in seconds.
Value in
"5" | "10"
Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \ -H "Content-Type: application/json" \ -d '{ "model": "pika/v2.2-t2v", "prompt": "A teenager sitting alone on a rooftop, city lights below, headphones on, lost in thought" }'
{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}