Neidio i'r cynnwys

Fibo · Structured Prompt

Integreiddio

ID y model bria/fibo/generate/structured_prompt
# 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/generate/structured_prompt?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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"

Y cais hwn: $0.01 10 o gredydau API Ei redeg ar y dudalen hon

Cael allwedd API
Bria AI LLM #bria#fibo#structured-prompting

Yn troi anogwr neu ddelwedd gyfeirio yn ddisgrifiad JSON strwythuredig Fibo yn hytrach na rendro delwedd

Bria AI · Data (JSON)

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

Anogiad a ddefnyddiwyd i gynhyrchu delweddau.

Uwch image · seed · structured_prompt
image_url
Gollyngwch ffeil, neu

Delwedd gyfeirio a ddarperir fel ffeil neu URL.

rhagosodedig 5555

Hadau sy'n rheoli haprwydd er mwyn atgynhyrchu canlyniadau.

Anogiad strwythuredig a ddefnyddir ar gyfer cynhyrchu delwedd.

POST /run/bria/fibo/generate/structured_prompt?wait=20 dyfynbris → $0.01
# 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/generate/structured_prompt?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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"

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â Fibo · Structured Prompt

Diweddbwynt arddull model iaith sy'n dychwelyd yr anogiad strwythuredig ar gyfer delwedd yn hytrach na'r ddelwedd ei hun. Y mewnbynnau yw `prompt`, `structured_prompt` presennol neu `image_url` cyfeiriol, ynghyd â `seed`. Mae'r allbwn JSON yn cynnwys meysydd megis estheteg, goleuo, gwrthrychau, nodweddion ffotograffig, disgrifiad byr, cyfrwng arddull a thestun i'w rendro.

Paramedrau

Anfonwch naill ai'r enw canonaidd neu'r enw brodorol, nid y ddau. Enwau canonaidd

EnwMath RhagosodedigCaniateir Disgrifiad
promptdewisol
Mathstring | null
Anogiad a ddefnyddiwyd i gynhyrchu delweddau.
structured_promptdewisol
Mathobject
Anogiad strwythuredig a ddefnyddir ar gyfer cynhyrchu delwedd.
structured_prompt.short_descriptiondewisol
Mathstring | null
Disgrifiad byr o'r ddelwedd allbwn arfaethedig.
structured_prompt.objectsdewisol
Mathobject[]
Rhagosodedig[]
Nodwch gynnwys y ddelwedd a gynhyrchir fel rhestr, gan gofnodi priodoleddau pob gwrthrych a'i berthynas â'r gwrthrychau eraill a ddangosir.
structured_prompt.objects[].descriptiondewisol
Mathstring | null
Disgrifiad o'r gwrthrych allbwn arfaethedig.
structured_prompt.objects[].locationdewisol
Mathstring | null
Safle'r gwrthrych yn y ddelwedd.
structured_prompt.objects[].relationshipgofynnol
Mathstring
Perthynas y gwrthrych â gwrthrychau eraill y ddelwedd.
structured_prompt.objects[].relative_sizedewisol
Mathstring | null
Maint y gwrthrych mewn perthynas â'r ddelwedd.
structured_prompt.objects[].shape_and_colordewisol
Mathstring | null
Siâp a lliw'r gwrthrych.
structured_prompt.objects[].texturedewisol
Mathstring | null
Gwead y gwrthrych.
structured_prompt.objects[].appearance_detailsdewisol
Mathstring | null
Manylion sy'n disgrifio golwg y gwrthrych.
structured_prompt.objects[].number_of_objectsdewisol
Mathinteger | null
Nifer y gwrthrychau yn y ddelwedd.
structured_prompt.objects[].posedewisol
Mathstring | null
Ystum y gwrthrych a ddangosir.
structured_prompt.objects[].expressiondewisol
Mathstring | null
Mynegiant y gwrthrych a ddangosir.
structured_prompt.objects[].clothingdewisol
Mathstring | null
Dillad y gwrthrych a ddangosir.
structured_prompt.objects[].actiondewisol
Mathstring | null
Gweithred a gyflawnir gan y gwrthrych a ddangosir.
structured_prompt.objects[].genderdewisol
Mathstring | null
Rhyw y gwrthrych a ddangosir.
structured_prompt.objects[].skin_tone_and_texturedewisol
Mathstring | null
Gwead a thôn croen y gwrthrych a ddangosir.
structured_prompt.objects[].orientationdewisol
Mathstring | null
Cyfeiriadedd y gwrthrych a ddangosir.
structured_prompt.background_settingdewisol
Mathstring | null
Gosodiad cefndir ar gyfer y ddelwedd a gynhyrchir.
structured_prompt.lightingdewisol
Mathobject
Goleuadau ar gyfer y ddelwedd a gynhyrchir.
structured_prompt.lighting.conditionsdewisol
Mathstring | null
Amodau goleuo ar gyfer y ddelwedd a gynhyrchir.
structured_prompt.lighting.directiondewisol
Mathstring | null
Cyfeiriad y goleuni ar gyfer y ddelwedd a gynhyrchir.
structured_prompt.lighting.shadowsdewisol
Mathstring | null
Cysgodion i'w dangos yn y ddelwedd a gynhyrchir.
structured_prompt.aestheticsdewisol
Mathobject
Rhinweddau esthetig ar gyfer y ddelwedd a gynhyrchir.
structured_prompt.aesthetics.compositiondewisol
Mathstring | null
Cyfansoddiad y ddelwedd a gynhyrchir.
structured_prompt.aesthetics.color_schemedewisol
Mathstring | null
Palet lliwiau ar gyfer y ddelwedd a gynhyrchir.
structured_prompt.aesthetics.mood_atmospheredewisol
Mathstring | null
Naws ac awyrgylch y ddelwedd a gynhyrchir.
structured_prompt.aesthetics.aesthetic_scoredewisol
Mathstring | null
Sgôr esthetig ar gyfer y ddelwedd sy'n cael ei chynhyrchu.
structured_prompt.aesthetics.preference_scoredewisol
Mathstring | null
Sgôr dewis ar gyfer y ddelwedd sy'n cael ei chynhyrchu.
structured_prompt.photographic_characteristicsdewisol
Mathobject
Priodweddau ffotograffig y ddelwedd a gynhyrchir.
structured_prompt.photographic_characteristics.depth_of_fielddewisol
Mathstring | null
Dyfnder maes y ddelwedd a gynhyrchir.
structured_prompt.photographic_characteristics.focusdewisol
Mathstring | null
Ffocws y ddelwedd a gynhyrchir.
structured_prompt.photographic_characteristics.camera_angledewisol
Mathstring | null
Ongl camera'r ddelwedd a gynhyrchir.
structured_prompt.photographic_characteristics.lens_focal_lengthdewisol
Mathstring | null
Gosodiad lens ar gyfer y ddelwedd a gynhyrchir, wedi'i fynegi fel hyd ffocal.
structured_prompt.style_mediumdewisol
Mathstring | null
Cyfrwng arddull y ddelwedd a gynhyrchir.
structured_prompt.text_renderdewisol
Mathany[]
Rhagosodedig[]
Rhestr o gofnodion testun i'w cynnwys yn y ddelwedd.
structured_prompt.contextdewisol
Mathstring | null
Cyd-destun y ddelwedd a gynhyrchir.
structured_prompt.artistic_styledewisol
Mathstring | null
Arddull artistig y ddelwedd a gynhyrchir.
structured_prompt.trigger_worddewisol
Mathstring | null
structured_prompt.sub_trigger_worddewisol
Mathstring | null
structured_prompt.art_directiondewisol
Mathstring | null
structured_prompt.action_descriptiondewisol
Mathstring | null
structured_prompt.actor_prefixdewisol
Mathstring | null
image_urldewisol image
Mathurl · image
Delwedd gyfeirio a ddarperir fel ffeil neu URL.
seeddewisol
Mathinteger
Rhagosodedig5555
Hadau sy'n rheoli haprwydd er mwyn atgynhyrchu canlyniadau.
gofynnol Enw canonaidd, derbyniol hefyd

Mae paramedrau ffeil yn derbyn URL cyhoeddus https://, URI data: hyd at 10 MB, neu file_url uwchlwythiad. Ffeiliau

Allbwn

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo/generate/structured_prompt",
  "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": 10,
    "usd": "0.01",
    "charged": 10,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "short_description": "string",
    "objects": [
      {
        "description": "string",
        "location": "string",
        "relationship": "string",
        "relative_size": "string",
        "shape_and_color": "string",
        "texture": "string",
        "appearance_details": "string",
        "number_of_objects": 1,
        "pose": "string",
        "expression": "string",
        "clothing": "string",
        "action": "string",
        "gender": "string",
        "skin_tone_and_texture": "string",
        "orientation": "string"
      }
    ],
    "background_setting": "string",
    "lighting": {
      "conditions": "string",
      "direction": "string",
      "shadows": "string"
    },
    "aesthetics": {
      "composition": "string",
      "color_scheme": "string",
      "mood_atmosphere": "string",
      "aesthetic_score": "string",
      "preference_score": "string"
    },
    "photographic_characteristics": {
      "depth_of_field": "string",
      "focus": "string",
      "camera_angle": "string",
      "lens_focal_length": "string"
    },
    "style_medium": "string",
    "text_render": [],
    "context": "string",
    "artistic_style": "string"
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "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"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
short_description
string | nullDisgrifiad byr o'r ddelwedd allbwn arfaethedig.
objects
array of object {description, location, relationship, relative_size, shape_and_color, texture, appearance_details, number_of_objects, pose, expression, clothing, action, gender, skin_tone_and_texture, orientation} | nullNodwch gynnwys y ddelwedd a gynhyrchir fel rhestr, gan gofnodi priodoleddau pob gwrthrych a'i berthynas â'r gwrthrychau eraill a ddangosir.
background_setting
string | nullGosodiad cefndir ar gyfer y ddelwedd a gynhyrchir.
lighting
object {conditions, direction, shadows} | nullGoleuadau ar gyfer y ddelwedd a gynhyrchir.
aesthetics
object {composition, color_scheme, mood_atmosphere, aesthetic_score, preference_score} | nullRhinweddau esthetig ar gyfer y ddelwedd a gynhyrchir.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullPriodweddau ffotograffig y ddelwedd a gynhyrchir.
style_medium
string | nullCyfrwng arddull y ddelwedd a gynhyrchir.
text_render
array of any | nullRhestr o gofnodion testun i'w cynnwys yn y ddelwedd.
context
string | nullCyd-destun y ddelwedd a gynhyrchir.
artistic_style
string | nullArddull artistig y ddelwedd a gynhyrchir.

Mwy o fodelau: LLM

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/bria/fibo/generate/structured_prompt.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt