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."
}
article
string

This is the article you want to generate a youtube video for.

voice_id
string

This is the voice id of the voice you want to use to generate the youtube video.

script_guidelines
string

OPTIONAL:This is the guidelines for the script of the youtube video.

image_guidelines
string

OPTIONAL:This is the guidelines for the image of the youtube video.

Response

video_url
string

The url of the video to post on youtube.

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."
}