Make the video
make_videoMake a RapVideoAI video from the user's photos. It spends the version's credits from the user's RapVideoAI account (a failed video gives them all back). Before calling: 1) pick the effect and version with get_effect, 2) tell the user the price in credits, 3) ask for exactly the photos that version and number of people need, in order, 4) make sure the people in the photos are the user or adults who agreed, and no one is a child or a public figure. For a rap or song, pass a topic. Photos: the files the user attached in this chat as photos, OR public https links as photo_urls, OR an upload_id from create_upload_link once the user added them there. The video takes a few minutes: then call get_video with wait true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"effect": "<effect>"
},
"name": "make_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | Raps and songs only: who it is for and what it is about (names, the story, inside jokes), up to 120 characters | |
| effect | Yes | Effect slug | |
| people | No | Who is in it: solo (one person, 1 photo), duo (two people, a photo each), together (two people in 1 photo), trio (three, a photo each). Default: the version's usual choice for the number of photos sent. | |
| photos | No | The photos the user attached in this chat, in order | |
| version | No | Version id from get_effect. Default: the first version. | |
| upload_id | No | From create_upload_link, after the user added the photos there | |
| photo_urls | No | Public https links to the photos, in order |