Submit Prompt
Prompts
Submit Prompt
Submit a text prompt to create video content for a chapter
POST
Submit Prompt
Overview
Submit a prompt to a chapter, describing what to build. The system processes the prompt and creates the chapter content, typically completing in 30-90 seconds.If a chapter already has a prompt being processed, this endpoint returns a
409 Conflict error unless you set force: true to override.Request
Path Parameters
The project ID
The chapter ID
Headers
Bearer token with your API key
Must be
application/jsonBody
The prompt text describing the video content you want to create (1-5000 characters)
Force processing even if another prompt is already being processed for this chapter
Response
Unique identifier for the submitted prompt
Processing status:
processing, completed, or failedHuman-readable status message
Estimated processing time (e.g., “30-90 seconds”)
Examples
Response Example
Error Responses
Invalid prompt content
Another prompt is already being processed for this chapter
Project or chapter not found
Best Practices
Write clear, descriptive prompts
Write clear, descriptive prompts
Be specific about what you want in your video. Include details about:
- Visual style and aesthetics
- Text content and messaging
- Transitions and animations
- Mood and tone
Wait for processing to complete
Wait for processing to complete
After submitting a prompt, the video content is created asynchronously. Use the Get Chapter endpoint to check when processing is complete:
Handle conflicts gracefully
Handle conflicts gracefully
If you get a 409 error, decide whether to:
- Wait for the current prompt to complete
- Override with
force: true(use cautiously)
Reference uploaded assets
Reference uploaded assets
If you’ve uploaded assets, reference them in your prompts:
Next Steps
Get Chapter
Check processing status
Export Project
Export your completed video
Video Creation Guide
Learn more about creating videos