Create Task Black Forest Labs/Flux Kontext Dev
official文档: https://replicate.com/black-forest-labs/flux-kontext-dev
Endpoint
POST http://v98store.com/replicate/v1/models/black-forest-labs/flux-kontext-dev/predictions cURL Command
curl -X POST 'http://v98store.com/replicate/v1/models/black-forest-labs/flux-kontext-dev/predictions' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "input": { "prompt": "Change the car color to red, turn the headlights on", "go_fast": true, "guidance": 2.5, "input_image": "https://replicate.delivery/pbxt/N5YURZv4ifaW2bMwU7hmrwzgtxf99DTQXpBeobLt1O7dEc3h/pexels-jmark-253096.jpg", "aspect_ratio": "match_input_image", "output_format": "jpg", "output_quality": 80, "num_inference_steps": 30 } }' Parameters
| Name | In | Description | Required |
|---|---|---|---|
| Authorization | header | No |
Request Body
Example
{
"input": {
"prompt": "Change the car color to red, turn the headlights on",
"go_fast": true,
"guidance": 2.5,
"input_image": "https://replicate.delivery/pbxt/N5YURZv4ifaW2bMwU7hmrwzgtxf99DTQXpBeobLt1O7dEc3h/pexels-jmark-253096.jpg",
"aspect_ratio": "match_input_image",
"output_format": "jpg",
"output_quality": 80,
"num_inference_steps": 30
}
} Responses
200 -
Example
undefined