Text
Generate text
Generate text from a prompt using a general-purpose language model. Choose a quality tier with quality (LOW, STANDARD, HIGH, or MAX). Synchronous: the response includes the generated text. Useful for drafting scripts, titles, descriptions, and other short copy before generating a video.
post/v1/text/generate
Request body
Example request
{
"prompt": "Write a 30-second upbeat video script about why the sky is blue."
}Response
Generated text.
Changes
No recorded changes to this endpoint across all 1 revision of this API.