flux-kontext/pro
This page lists parameters from the ModelFold model catalog.
Overview
| Field | Value |
|---|---|
| Model ID | flux-kontext/pro |
| Family slug | flux-kontext-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":"flux-kontext/pro","prompt":"A serene mountain landscape at sunset with a lake reflecting the orange sky","output_format":"jpeg","prompt_upsampling":false,"safety_tolerance":2}'Required parameters
Required: 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.
