Skip to content

Model API quickstart ​

All requests use your ModelFold API Key. Media generation can wait for results, or supported models can use async jobs, polling and callbacks. Use a client timeout of at least 20 minutes for long video requests.

TypeEndpoint
ImagePOST /v1/images/generations
VideoPOST /v1/videos/generations
AudioPOST /v1/audio/generations
ChatPOST /v1/chat/completions
bash
curl https://modelfold.ai/v1/images/generations \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"seedream/5-pro-text-to-image","prompt":"A paper boat drifting down a rainy street.","aspect_ratio":"1:1","quality":"basic"}'

See the model list for model-specific required parameters and examples, and the gateway reference for responses, errors and billing. Model parameters go directly in the request body; do not wrap them in input. Replace sample media URLs with your own public files.

ModelFold — one API for all the best AI models.