Pika V2 2 Text To Video

5s minimum, from 240 credits
ae_pika_v2_2_text_to_video

Create a short video from a written description, with selectable duration, aspect ratio, and resolution.

Video
5s minimum, from 240 credits

Pricing

Video duration (seconds)Resolution: 1080pResolution: 720p / Not specified
5 / Not specified540 credits/call240 credits/call
101080 credits/call480 credits/call

Starting price applies to Video duration (seconds): 5, Resolution: 720p.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.seedinteger | unknownNoThe seed for the random number generator—
request_body.promptstringYesNo parameter description.—
request_body.durationenum (5 | 10)NoThe duration of the generated video in seconds5
request_body.resolutionenum (1080p | 720p)NoThe resolution of the generated video720p
request_body.aspect_ratioenum (16:9 | 9:16 | 1:1 | 4:5 | 5:4 | 3:2 | 2:3)NoThe aspect ratio of the generated video16:9
request_body.negative_promptstringNoA negative prompt to guide the modelugly, bad, terrible

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_pika_v2_2_text_to_video' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "prompt": "Large elegant white poodle standing proudly on the deck of a white yacht, wearing oversized glamorous sunglasses and a luxurious silk Gucci-style scarf tied around its neck, layered pearl necklaces draped across its chest, photographed from outside the yacht at a low upward angle, clear blue sky background, strong midday sunlight, washed-out faded tones, slightly overexposed 2000s fashion editorial aesthetic, cinematic analog film texture, playful luxury mood, glossy magazine style, bright harsh light and soft shadows, stylish and extravagant atmosphere. camera slow orbit and dolly in"
    }
  }
}'

No response example available yet.