Léim chuig an ábhar

Fibo Lite · Structured Prompt

Comhtháthú

Aitheantas na samhla bria/fibo-lite/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.ru/v1/run/bria/fibo-lite/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

An t-iarratas seo: $0.008 8 gcreidmheas API · ≈ ₽0.86 Rith ar an leathanach seo

Faigh eochair API
Bria AI LLM Tapa #bria#fibo#structured-prompt

Tiontaíonn sé téacs nó íomhá ina leid struchtúrtha JSON de chuid Fibo Lite seachas pictiúr a tháirgeadh

Bria AI · Sonraí (JSON)

Beidh do chéad toradh anseo

Tóg iarratas thíos agus rith é le d’eochair API. Cóipeáiltear na haschuir chuig ár stóráil, coinnithe go deo nó ar feadh 7 lá saor in aisce.

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

Leid a úsáidtear don ghiniúint.

Ardleibhéal image · seed · structured_prompt
image_url
Scaoil comhad, nó

URL na híomhá ionchuir.

réamhshocrú 7

Síol a úsáideann an gineadóir uimhreacha randamacha.

Leid struchtúrtha a úsáidtear don ghiniúint.

POST /run/bria/fibo-lite/generate/structured_prompt?wait=20 luachan → $0.008
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/bria/fibo-lite/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le Fibo Lite · Structured Prompt

Tugann sé cur síos struchtúrtha ar ais le húsáid le Fibo Lite in áit íomhá. Is iad na hionchuir `prompt`, `structured_prompt` atá ann cheana nó `image_url`, chomh maith le `seed`. Clúdaíonn an t-aschur JSON aeistéitic, stíl ealaíne, socrú an chúlra, soilsiú, réada, saintréithe grianghrafadóireachta, mothúcháin an ábhair agus rindreálacha téacs.

Paraiméadair

Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha

AinmCineál RéamhshocrúCeadaithe Cur síos
promptroghnach
Cineálstring | null
Leid a úsáidtear don ghiniúint.
structured_promptroghnach
Cineálobject
Leid struchtúrtha a úsáidtear don ghiniúint.
structured_prompt.short_descriptionriachtanach
Cineálstring
Forbhreathnú gairid ar a bhfuil san íomhá, teoranta do 200 focal.
structured_prompt.objectsriachtanach
Cineálobject[]
Liosta de na réada suntasacha sa tulra nó sa lárphlean.
structured_prompt.objects[].descriptionriachtanach
Cineálstring
Achoimre ghairid ina gcuirtear síos ar an réad.
structured_prompt.objects[].locationriachtanach
Cineálstring
Suíomh, mar shampla: 'center', 'top-left', nó 'bottom-right foreground'.
structured_prompt.objects[].relationshipriachtanach
Cineálstring
Déan cur síos ar an gcaidreamh idir an réad seo agus réada eile laistigh den íomhá.
structured_prompt.objects[].relative_sizeroghnach
Cineálstring | null
Méid, mar shampla: 'small', 'medium', nó 'large within frame'.
structured_prompt.objects[].shape_and_colorroghnach
Cineálstring | null
Bunfhoirm agus príomhdhath an réada.
structured_prompt.objects[].textureroghnach
Cineálstring | null
Uigeacht, mar shampla: 'smooth', 'rough', 'metallic', nó 'furry'.
structured_prompt.objects[].appearance_detailsroghnach
Cineálstring | null
Gnéithe amhairc breise ar fiú a lua.
structured_prompt.objects[].number_of_objectsroghnach
Cineálinteger | null
Líon na réad sa bhraisle.
structured_prompt.objects[].poseroghnach
Cineálstring | null
Suíomh an choirp.
structured_prompt.objects[].expressionroghnach
Cineálstring | null
An léiriú ar an aghaidh.
structured_prompt.objects[].clothingroghnach
Cineálstring | null
An t-éadaí atá á chaitheamh.
structured_prompt.objects[].actionroghnach
Cineálstring | null
An gníomh atá á dhéanamh ag an duine.
structured_prompt.objects[].genderroghnach
Cineálstring | null
Inscne an duine.
structured_prompt.objects[].skin_tone_and_textureroghnach
Cineálstring | null
Ton agus uigeacht an chraicinn.
structured_prompt.objects[].orientationroghnach
Cineálstring | null
Treoshuíomh an duine.
structured_prompt.background_settingriachtanach
Cineálstring
Cur síos ar an radharc ina iomláine: cá bhfuil sé suite, a thimpeallacht nó a chúlra, agus aon ghnéithe cúlra ar fiú a lua.
structured_prompt.lightingriachtanach
Cineálobject
Faisnéis ina gcuirtear síos ar an soilsiú.
structured_prompt.lighting.conditionsriachtanach
Cineálstring
I measc samplaí soilsithe tá 'bright daylight', 'dim indoor', 'studio lighting', agus 'golden hour'.
structured_prompt.lighting.directionriachtanach
Cineálstring
Treo an tsoilsithe; i measc na samplaí tá 'front-lit', 'backlit', agus 'side-lit from left'.
structured_prompt.lighting.shadowsroghnach
Cineálstring | null
Cur síos ar aon scáthanna atá i láthair.
structured_prompt.aestheticsriachtanach
Cineálobject
Faisnéis ina gcuirtear síos ar aeistéitic na híomhá.
structured_prompt.aesthetics.compositionriachtanach
Cineálstring
Stíl na cumadóireachta; i measc na samplaí tá 'rule of thirds', 'symmetrical', 'centered', agus 'leading lines'.
structured_prompt.aesthetics.color_schemeriachtanach
Cineálstring
Scéim dathanna; i measc na samplaí tá 'monochromatic blue', 'warm complementary colors', agus 'high contrast'.
structured_prompt.aesthetics.mood_atmosphereriachtanach
Cineálstring
Giúmar nó atmaisféar, mar shampla `joyful`, `serene`, `mysterious`, nó `energetic`.
structured_prompt.aesthetics.aesthetic_scoreriachtanach
Cineálstring
Cur síos ar an scór, mar shampla meánach, an-íseal, íseal, an-ard, nó ard.
structured_prompt.aesthetics.preference_scoreriachtanach
Cineálstring
Cur síos ar an scór, mar shampla meánach, an-íseal, íseal, an-ard, nó ard.
structured_prompt.photographic_characteristicsroghnach
Cineálobject
Faisnéis ina gcuirtear síos ar na cáilíochtaí grianghrafadóireachta.
structured_prompt.photographic_characteristics.depth_of_fieldriachtanach
Cineálstring
Doimhneacht an réimse; i measc na samplaí tá 'shallow', 'deep', agus 'bokeh background'.
structured_prompt.photographic_characteristics.focusriachtanach
Cineálstring
Saintréithe an fhócais; i measc na samplaí tá 'sharp focus on subject', 'soft focus', agus 'motion blur'.
structured_prompt.photographic_characteristics.camera_angleriachtanach
Cineálstring
Uillinn an cheamara; i measc na samplaí tá 'eye-level', 'low angle', 'high angle', agus 'dutch angle'.
structured_prompt.photographic_characteristics.lens_focal_lengthriachtanach
Cineálstring
Cineál an lionsa nó fad fócasach, mar shampla `macro`, `fisheye`, `wide-angle`, nó `telephoto`.
structured_prompt.style_mediumroghnach
Cineálstring | null
Meán nó stíl ealaíonta a úsáidtear.
structured_prompt.text_renderroghnach
Cineálobject[]
Liosta d’eilimintí téacs a rindreáiltear laistigh den íomhá.
structured_prompt.text_render[].textriachtanach
Cineálstring
Ábhar an téacs.
structured_prompt.text_render[].locationriachtanach
Cineálstring
Suíomh, mar shampla: 'center', 'top-left', nó 'bottom-right foreground'.
structured_prompt.text_render[].sizeriachtanach
Cineálstring
Méid, mar shampla: 'small', 'medium', nó 'large within frame'.
structured_prompt.text_render[].colorriachtanach
Cineálstring
Dath, mar shampla `green`, `red`, nó `blue`.
structured_prompt.text_render[].fontriachtanach
Cineálstring
Stíl an chló, mar shampla `minimalist`, `realistic`, nó `cartoonish`.
structured_prompt.text_render[].appearance_detailsroghnach
Cineálstring | null
Gnéithe amhairc breise ar fiú a lua.
structured_prompt.contextriachtanach
Cineálstring
Comhthéacs breise chun cabhrú le léirmhíniú na híomhá.
structured_prompt.artistic_styleriachtanach
Cineálstring
Tréithe ealaíonta sonracha, curtha in iúl i 3 fhocal ar a mhéad.
structured_prompt.subject_emotionsroghnach
Cineálstring | null
Cur síos follasach ar na léirithe nó na mothúcháin infheicthe atá ar na hábhair.
image_urlroghnach image
Cineálurl · image
URL na híomhá ionchuir.
seedroghnach
Cineálinteger
Réamhshocrú7
Síol a úsáideann an gineadóir uimhreacha randamacha.
riachtanach Ainm canónach, glactar leis freisin

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo-lite/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": 8,
    "usd": "0.008",
    "charged": 8,
    "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": [
      {
        "text": "string",
        "location": "string",
        "size": "string",
        "color": "string",
        "font": "string",
        "appearance_details": "string"
      }
    ],
    "context": "string",
    "artistic_style": "string",
    "subject_emotions": "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
short_description
stringForbhreathnú gairid ar a bhfuil san íomhá, teoranta do 200 focal.
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}Liosta de na réada suntasacha sa tulra nó sa lárphlean.
background_setting
stringCur síos ar an radharc ina iomláine: cá bhfuil sé suite, a thimpeallacht nó a chúlra, agus aon ghnéithe cúlra ar fiú a lua.
lighting
object {conditions, direction, shadows}Faisnéis ina gcuirtear síos ar an soilsiú.
aesthetics
object {composition, color_scheme, mood_atmosphere, aesthetic_score, preference_score}Faisnéis ina gcuirtear síos ar aeistéitic na híomhá.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullFaisnéis ina gcuirtear síos ar na cáilíochtaí grianghrafadóireachta.
style_medium
string | nullMeán nó stíl ealaíonta a úsáidtear.
text_render
array of object {text, location, size, color, font, appearance_details} | nullLiosta d’eilimintí téacs a rindreáiltear laistigh den íomhá.
context
stringComhthéacs breise chun cabhrú le léirmhíniú na híomhá.
artistic_style
stringTréithe ealaíonta sonracha, curtha in iúl i 3 fhocal ar a mhéad.
subject_emotions
string | nullCur síos follasach ar na léirithe nó na mothúcháin infheicthe atá ar na hábhair.

Tuilleadh samhlacha: LLM

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/bria/fibo-lite/generate/structured_prompt.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt