curl -X POST \ <BASE_URL>/youtube-video \ -H 'Content-Type: application/json' \ -H 'X-API-Key: YOUR_API_KEY' \ -d '{ "article": "Some article text.", "voice_id": "voice_123", "script_guidelines": "Some guidelines for the script", "image_guidelines": "Some guidelines for images" }'
{ "video_section": "Some HTML code for the video section." }
This endpoint will generate a youtube video from a blog post.