Authorization: Bearer ********************
{
"model": "clarity",
"image": "https://oss.ffire.cc/files/old.jpg" // 支持base64与url
}
curl --location -g --request POST '{{YOUR_BASE_URL}}/aitools/v1/images/edits' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "clarity",
"image": "https://oss.ffire.cc/files/old.jpg" // 支持base64与url
}'
{
"created": 1737109293,
"data": [
{
"b64_json": null,
"revised_prompt": null,
"url": "https://v3.fal.media/files/rabbit/bDAALjctfy-Zarwg4wr5n.png"
}
],
"image": null,
"metadata": null,
"timings": {
"inference": 7.162426710128784
}
}