4o-image-api
This page lists parameters from the ModelFold model catalog.
Overview
| Field | Value |
|---|---|
| Model ID | 4o-image-api |
| Family slug | 4o-image-api |
| Modality | Image Generation (image) |
| Endpoint | POST /v1/images/generations |
Request example
bash
export API_BASE="https://modelfold.ai/v1"
export MODELFOLD_API_KEY="mf-..." # 在控制台 API Key 页面创建
curl -X POST "$API_BASE/images/generations" \
-H "Authorization: Bearer $MODELFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"4o-image-api","size":"1:1","prompt":"A beautiful sunset over the mountains"}'Required parameters
Required: size, prompt.
Pass model parameters at the top level; do not wrap them in input. Replace sample media URLs with your own publicly accessible files. The request waits for generation and returns data[].url.
Related models
- Model overview
- See all 80 image generation models
bytedance/seedreambytedance/seedream-v4-editbytedance/seedream-v4-text-to-imageflux-2/flex-image-to-imageflux-2/flex-text-to-imageflux-2/pro-image-to-image
