loop_video
Loop a performance bank
Rotate one to three owned 1–15 second video takes to a target duration, up to 30 minutes. Plain loop or ping-pong. Output is silent for dubbing. Free; uses storage. get_generation waits for the result.
Scope
generation.write— Makes, edits, imports, shares and deletes media in the account.
Behaviour
- Writes
- Creates or changes items in the caller's own account.
- Adds or updates
- Adds or updates; nothing the caller already has is deleted or overwritten.
- Stays in the account
- Stays inside the caller's private Kuro account: any media provider it calls acts on Kuro's account, and the result is visible to no one else.
Inputs
sourcesarray of object (type: "upload") or object (type: "generation") · requiredat least 1 item · at most 3 items
duration_secondsnumber · required≥ 1 · ≤ 1800
modestring · optionalone of "loop", "ping-pong" · default "loop"
Example call
A tools/call request with the required arguments only, each a placeholder read off the schema. Replace them before sending.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "loop_video",
"arguments": {
"sources": [
{
"type": "upload",
"upload_id": "00000000-0000-4000-8000-000000000000"
}
],
"duration_seconds": 1
}
}
}Input schema
As the server sends it in tools/list.
{
"type": "object",
"properties": {
"sources": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "upload"
},
"upload_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"type",
"upload_id"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "generation"
},
"generation_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"type",
"generation_id"
],
"additionalProperties": false
}
]
},
"minItems": 1,
"maxItems": 3
},
"duration_seconds": {
"type": "number",
"minimum": 1,
"maximum": 1800
},
"mode": {
"type": "string",
"enum": [
"loop",
"ping-pong"
],
"default": "loop"
}
},
"required": [
"sources",
"duration_seconds"
],
"additionalProperties": false
}Related tools
- get_generation
Get current status and signed media URL for one generation.