Peke ki ngā ihirangi

Fibo Edit 1.5 Image Editing

Whakauru

id tauira bria/fibo-edit-1.5/edit
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bria/fibo-edit-1.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: $ 0.04 40 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Bria AI Whakatika Atahanga #stylized#transform#editing

He kaiwhakatika whakaahua tohutoro-maha e whai ana i ngā tohutohu kuputuhi, tae atu ki te 4 whakaahua me te kopare kōwhiringa

Bria AI · Atahanga

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

aspect_ratio

Turakitanga ōwehenga putanga mō ngā tono me ngā atahanga tohutoro maha. Mā te tohutoro kotahi tōna ōwehenga ake e whakatau; mō ngā tohutoro maha, mā te waiho ka whakamahia te ōwehenga o te tohutoro tuatahi.

Arā atu instruction · images · mask · seed · structured_instruction

Tohutohu e whakaahua ana i te whakatika atahanga.

image_urls
Whakataka he kōnae,

Ngā tāuru tohutoro; mā te raupapa tuku e whakatau te whakamāramatanga o te tohutohu. Homai 1–4 atahanga hei kōnae, hei URL rānei.

mask_url
Whakataka he kōnae,

Kanohi whakatika e wātea ana mō te atahanga tohutoro kotahi anake; ka whakamahi te kanohi me te putanga whakaputaina i ngā rahinga o taua tohutoro. Homai he kōnae, he URL rānei me te mā hei tohu i ngā wāhi whakaputanga anō, me te pango mō ērā atu.

taunoa 5555

Kākano hei whakahaere i te matapōkeretanga mō ngā putanga ka taea te tārua.

Tohutohu hanganga ka taea te whakamahi anō, tae atu ki tētahi i whakahokia e te whakatika o mua. Ki te kore he tohutohu, ka whakamahia tēnei tohutohu kāore he panoni, ā, kāore a VGL e hanga whakakapinga.

POST /run/bria/fibo-edit-1.5/edit?wait=20 utu → $ 0.04
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bria/fibo-edit-1.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Fibo Edit 1.5 Image Editing

Ka whakatika i ngā whakaahua mai i tētahi `instruction` reo māori, mā te whakamahi i te kotahi ki te whā whakaahua tohutoro kei `image_urls`, ā, he mea nui tō rātou raupapa. He pai mō te whakamātau kākahu mariko, te whakakapi papamārama me te whakawhiti kāhua. Mā `mask_url` e here te whakatika mō ngā tono whakaahua-kotahi, ā, ka taea e `structured_instruction` te whakamahi anō i tētahi hua o mua. Ka whai pānga `aspect_ratio` ina rua, neke atu rānei ngā whakaahua.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
image_urlskōwhiringa images
Momourl[] · image
Ngā tāuru tohutoro; mā te raupapa tuku e whakatau te whakamāramatanga o te tohutohu. Homai 1–4 atahanga hei kōnae, hei URL rānei.
instructionkōwhiringa
Momostring | null
Tohutohu e whakaahua ana i te whakatika atahanga.
aspect_ratiokōwhiringa
Momoenum
1:12:33:23:44:34:55:49:1616:9
Turakitanga ōwehenga putanga mō ngā tono me ngā atahanga tohutoro maha. Mā te tohutoro kotahi tōna ōwehenga ake e whakatau; mō ngā tohutoro maha, mā te waiho ka whakamahia te ōwehenga o te tohutoro tuatahi.
seedkōwhiringa
Momointeger
Taunoa5555
Kākano hei whakahaere i te matapōkeretanga mō ngā putanga ka taea te tārua.
mask_urlkōwhiringa mask
Momourl · image
Kanohi whakatika e wātea ana mō te atahanga tohutoro kotahi anake; ka whakamahi te kanohi me te putanga whakaputaina i ngā rahinga o taua tohutoro. Homai he kōnae, he URL rānei me te mā hei tohu i ngā wāhi whakaputanga anō, me te pango mō ērā atu.
structured_instructionkōwhiringa
Momoobject
Tohutohu hanganga ka taea te whakamahi anō, tae atu ki tētahi i whakahokia e te whakatika o mua. Ki te kore he tohutohu, ka whakamahia tēnei tohutohu kāore he panoni, ā, kāore a VGL e hanga whakakapinga.
structured_instruction.short_descriptionkōwhiringa
Momostring | null
Whakamārama poto o te atahanga putanga e whāia ana.
structured_instruction.objectskōwhiringa
Momoobject[]
Taunoa[]
Tauwhāitihia ngā ihirangi o te atahanga whakaputaina hei rārangi, me te tuhi i ngā āhuatanga o ia ahanoa me ō rātou hononga ki ērā atu ahanoa kua whakaaturia.
structured_instruction.objects[].descriptionkōwhiringa
Momostring | null
Whakamārama o te ahanoa putanga e whāia ana.
structured_instruction.objects[].locationkōwhiringa
Momostring | null
Te tūnga o te ahanoa i roto i te atahanga.
structured_instruction.objects[].relationshipe hiahiatia ana
Momostring
Te hononga o te ahanoa ki ērā atu ahanoa o te atahanga.
structured_instruction.objects[].relative_sizekōwhiringa
Momostring | null
Te rahinga o te ahanoa e pā ana ki te atahanga.
structured_instruction.objects[].shape_and_colorkōwhiringa
Momostring | null
Te āhua me te tae o te ahanoa.
structured_instruction.objects[].texturekōwhiringa
Momostring | null
Te kakano o te ahanoa.
structured_instruction.objects[].appearance_detailskōwhiringa
Momostring | null
Ngā taipitopito e whakaahua ana i te āhua o te ahanoa.
structured_instruction.objects[].number_of_objectskōwhiringa
Momointeger | null
Te tatau o ngā ahanoa i roto i te atahanga.
structured_instruction.objects[].posekōwhiringa
Momostring | null
Te tū āhua o te ahanoa kua whakaaturia.
structured_instruction.objects[].expressionkōwhiringa
Momostring | null
Te āhua kanohi o te ahanoa kua whakaaturia.
structured_instruction.objects[].clothingkōwhiringa
Momostring | null
Ngā kākahu e mau ana te ahanoa kua whakaaturia.
structured_instruction.objects[].actionkōwhiringa
Momostring | null
Te mahi a te ahanoa kua whakaaturia.
structured_instruction.objects[].genderkōwhiringa
Momostring | null
Te ira tangata o te ahanoa kua whakaaturia.
structured_instruction.objects[].skin_tone_and_texturekōwhiringa
Momostring | null
Te kakano me te tae kiri o te ahanoa kua whakaaturia.
structured_instruction.objects[].orientationkōwhiringa
Momostring | null
Te aronga o te ahanoa kua whakaaturia.
structured_instruction.background_settingkōwhiringa
Momostring | null
Te papamuri o te atahanga whakaputaina.
structured_instruction.lightingkōwhiringa
Momoobject
Te rama mō te atahanga whakaputaina.
structured_instruction.lighting.conditionskōwhiringa
Momostring | null
Ngā tikanga rama mō te atahanga whakaputaina.
structured_instruction.lighting.directionkōwhiringa
Momostring | null
Te ahunga rama mō te atahanga whakaputaina.
structured_instruction.lighting.shadowskōwhiringa
Momostring | null
Ngā atarangi hei whakaatu ki te atahanga whakaputaina.
structured_instruction.aestheticskōwhiringa
Momoobject
Ngā kounga rerehua mō te atahanga whakaputaina.
structured_instruction.aesthetics.compositionkōwhiringa
Momostring | null
Te whakatakotoranga o te atahanga whakaputaina.
structured_instruction.aesthetics.color_schemekōwhiringa
Momostring | null
Te huinga tae mō te atahanga whakaputaina.
structured_instruction.aesthetics.mood_atmospherekōwhiringa
Momostring | null
Te wairua me te āhua o te taiao mō te atahanga whakaputaina.
structured_instruction.aesthetics.aesthetic_scorekōwhiringa
Momostring | null
Kaute rerehua mō te atahanga e whakaputaina ana.
structured_instruction.aesthetics.preference_scorekōwhiringa
Momostring | null
Kaute manakohanga mō te atahanga e whakaputaina ana.
structured_instruction.photographic_characteristicskōwhiringa
Momoobject
Ngā āhuatanga whakaahua mō te atahanga whakaputaina.
structured_instruction.photographic_characteristics.depth_of_fieldkōwhiringa
Momostring | null
Te hōhonu o te wāhi arotahi mō te atahanga whakaputaina.
structured_instruction.photographic_characteristics.focuskōwhiringa
Momostring | null
Te arotahi mō te atahanga whakaputaina.
structured_instruction.photographic_characteristics.camera_anglekōwhiringa
Momostring | null
Te koki kāmera mō te atahanga whakaputaina.
structured_instruction.photographic_characteristics.lens_focal_lengthkōwhiringa
Momostring | null
Tautuhinga arotahi mō te atahanga whakaputaina, ka whakaaturia hei roa arotahi.
structured_instruction.style_mediumkōwhiringa
Momostring | null
Te momo toi mō te atahanga whakaputaina.
structured_instruction.text_renderkōwhiringa
Momoany[]
Taunoa[]
Rārangi tāurunga kuputuhi hei whakauru ki te atahanga.
structured_instruction.contextkōwhiringa
Momostring | null
Horopaki mō te atahanga whakaputaina.
structured_instruction.artistic_stylekōwhiringa
Momostring | null
Te kāhua toi mō te atahanga whakaputaina.
structured_instruction.edit_instructionkōwhiringa
Momostring | null
Tohutohu e whakaahua ana me pēhea te whakatika i te atahanga.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo-edit-1.5/edit",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {},
  "output": {
    "image": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768
    },
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ],
    "structured_instruction": {}
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
image
object {url, content_type, file_name, file_size, width, height}Putanga whakatika e whai ana ngā ōwehenga i aspect_ratio ina tautuhia, i te atahanga pūtake rānei.
images
array of object {url, content_type, file_name, file_size, width, height}Whakautu whakamuri-hototahi mō ngā kiritaki e whakamahi ana i te ara Fibo Edit API tawhito: he rārangi kotahi te tāurunga, ko taua atahanga anake.
structured_instruction
objectWhakamāramatanga whānui o te tono poto, ka whakahokia hei tohutohu hanganga i mahia tonutia. Ka whakauru i te tohutohu hanga-roto me ngā ihirangi i tukuna mā `instruction`.

Ētahi atu tauira: Whakatika Atahanga

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/bria/fibo-edit-1.5/edit.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt