Create Task Lucataco/Flux Dev Lora

official文档: https://replicate.com/lucataco/flux-dev-lora

Endpoint

POST http://v98store.com/replicate/v1/predictions

cURL Command

curl -X POST 'http://v98store.com/replicate/v1/predictions' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "version": "lucataco/flux-dev-lora:091495765fa5ef2725a175a57b276ec30dc9d39c22d30410f2ede68a3eab66b3", "input": { "prompt": "a beautiful castle frstingln illustration", "hf_lora": "alvdansen/frosting_lane_flux", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 28 } }'

Parameters

NameInDescriptionRequired
AuthorizationheaderNo

Request Body

Example

{
  "version": "lucataco/flux-dev-lora:091495765fa5ef2725a175a57b276ec30dc9d39c22d30410f2ede68a3eab66b3",
  "input": {
    "prompt": "a beautiful castle frstingln illustration",
    "hf_lora": "alvdansen/frosting_lane_flux",
    "lora_scale": 0.8,
    "num_outputs": 1,
    "aspect_ratio": "1:1",
    "output_format": "webp",
    "guidance_scale": 3.5,
    "output_quality": 80,
    "prompt_strength": 0.8,
    "num_inference_steps": 28
  }
}

Responses

200 -

Example

{
  "id": "c9zn270jk1rj00crans8m6ssjc",
  "model": "lucataco/flux-dev-lora",
  "version": "091495765fa5ef2725a175a57b276ec30dc9d39c22d30410f2ede68a3eab66b3",
  "input": {
    "aspect_ratio": "1:1",
    "guidance_scale": 3.5,
    "hf_lora": "alvdansen/frosting_lane_flux",
    "lora_scale": 0.8,
    "num_inference_steps": 28,
    "num_outputs": 1,
    "output_format": "webp",
    "output_quality": 80,
    "prompt": "a beautiful castle frstingln illustration",
    "prompt_strength": 0.8
  },
  "logs": "",
  "output": null,
  "data_removed": false,
  "error": null,
  "status": "starting",
  "created_at": "2025-07-29T09:09:55.992Z",
  "urls": {
    "cancel": "https://api.replicate.com/v1/predictions/c9zn270jk1rj00crans8m6ssjc/cancel",
    "get": "https://api.replicate.com/v1/predictions/c9zn270jk1rj00crans8m6ssjc",
    "stream": "https://stream.replicate.com/v1/files/qoxq-37kfnrolbp7l2vy5f2ffduf6vyqye4savtprvsiikqzpcjbuejfa",
    "web": "https://replicate.com/p/c9zn270jk1rj00crans8m6ssjc"
  }
}