Methods
Generate
Generates content based on provided input for text, image, audio, or video.
POST
/
generate
Due to the expensive nature of generation, it is available to Enterprise customers only. To schedule a demo reach out
The generate method allows you to produce content across various modalities.
Request
model_id
str
requiredThe model_id, see supported models for reference.
response_format
json
requiredThe JSON schema for the response format
context
string
requiredThe prompt or input to generate content from
messages
json
Additional context messages
settings
json
Additional settings for the generation process
Was this page helpful?