Copy the API key. From now on, this key be referenced as YOUR_API_KEY
Before getting started
Ensure you have an Agent with a valid body created on Holoworld (consult Create Agent for more information). Go to your agent's profile page and copy the Agent ID (the agent ID is the last part of the URL after the slash on the Agent's profile page)
From now on, this will be referenced as YOUR_AGENT_ID.
Currently only Live2D models are supported. 3D support coming soon...
You will also need Holo credits. Whenever you submit a new Job Render and the Job starts executing, credits will be detracted from your account. For more information about Holo Credits and how to purchase them see Credits System. For more information about API pricing, please see Pricing
API Endpoints
Create Video Rendering Job `/api/studio/render`
Initiates a new video rendering job with the specified parameters.
URL:https://app.holoworld.com/api/studio/render
Method:POST
Headers:
Content-Type: application/json
x-api-key: YOUR_API_KEY
Request Body
Response
Get Video Rendering Status `api/studio/render/{renderId}`
Retrieves the current status of a video rendering job.
{
"renderPayload": {
"aspectRatio": "1/1", // or "9/16"
"withCaption": true,
"brainrot": false,
"scenes": [
{
"text": "The text that will be spoken by the AI model",
"background": {
"type": "image",
"source": "https://example.com/background.jpg"
},
"includeOutro": true,
"modelConfig": {
"id": YOUR_AGENT_ID,
"scale": 1.0,
"x": 50,
"y": 50
}
}
]
}
}
{
"id": "render-12345678-abcd-9876-efgh-123456789abc", // This is the RENDER_ID, use it to pool the status
"status": "queued" // Possible values: 'queued' | 'processing' | 'completed' | 'failed'
// Other job info...
}
{
"id": RENDER_ID,
"status": "completed", // Possible values: 'queued' | 'processing' | 'completed' | 'fail
"url": "https://cdn.holoworld.com/videos/12345678-abcd-9876-efgh-123456789abc.mp4" // The link to the video
}