Generate text using AI
post/collection/{collection_id}/generate/text/
Path parameters
collection_idstring required
Example:default
Request body
Example request
{
"prompt": "Summarize the content of this video",
"prompt_url": "https://storage.googleapis.com/.../generate_text_prompt_123abc.txt",
"video_id": "m-12345",
"model_name": "Qwen/Qwen3.5-27B",
"sandbox_id": "bx-123abc",
"max_tokens": 500,
"temperature": 0.7,
"callback_url": "https://webhook.example.com/callback"
}Response
Text generation started or completed
Example response
{
"success": true,
"status": "processing",
"data": {
"id": "job-123",
"output_url": "https://api.videodb.io/async-response/job-123"
}
}