Neidio i'r cynnwys

Fibo Lite · Structured Prompt

Integreiddio

ID y model 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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Y cais hwn: $0.008 8 o gredydau API Ei redeg ar y dudalen hon

Cael allwedd API
Bria AI LLM Cyflym #bria#fibo#structured-prompt

Yn trosi testun neu ddelwedd yn anogwr JSON strwythuredig Fibo Lite yn hytrach na chynhyrchu llun

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 ddefnyddir ar gyfer cynhyrchu.

Uwch image · seed · structured_prompt
image_url
Gollyngwch ffeil, neu

URL y ddelwedd fewnbwn.

rhagosodedig 7

Hadau a ddefnyddir gan y generadur rhifau ar hap.

Anogiad strwythuredig a ddefnyddir ar gyfer cynhyrchu.

POST /run/bria/fibo-lite/generate/structured_prompt?wait=20 dyfynbris → $0.008
# 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-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.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 Lite · Structured Prompt

Yn dychwelyd disgrifiad strwythuredig i'w ddefnyddio gyda Fibo Lite yn hytrach na delwedd. Mae'r mewnbynnau'n cynnwys `prompt`, `structured_prompt` sy'n bodoli neu `image_url`, ynghyd â `seed`. Mae allbwn JSON yn cwmpasu estheteg, arddull artistig, gosodiad y cefndir, goleuo, gwrthrychau, nodweddion ffotograffig, emosiynau'r pwnc a rendradau testun.

Paramedrau

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

EnwMath RhagosodedigCaniateir Disgrifiad
promptdewisol
Mathstring | null
Anogiad a ddefnyddir ar gyfer cynhyrchu.
structured_promptdewisol
Mathobject
Anogiad strwythuredig a ddefnyddir ar gyfer cynhyrchu.
structured_prompt.short_descriptiongofynnol
Mathstring
Trosolwg byr o gynnwys y ddelwedd, wedi'i gyfyngu i 200 o eiriau.
structured_prompt.objectsgofynnol
Mathobject[]
Rhestr o wrthrychau nodedig yn y blaendir neu'r canoldir.
structured_prompt.objects[].descriptiongofynnol
Mathstring
Crynodeb byr sy'n disgrifio'r gwrthrych.
structured_prompt.objects[].locationgofynnol
Mathstring
Lleoliad, er enghraifft: 'center', 'top-left', neu 'bottom-right foreground'.
structured_prompt.objects[].relationshipgofynnol
Mathstring
Disgrifiwch sut mae'r gwrthrych hwn yn ymwneud ag eraill yn y ddelwedd.
structured_prompt.objects[].relative_sizedewisol
Mathstring | null
Maint, er enghraifft: 'small', 'medium', neu 'large within frame'.
structured_prompt.objects[].shape_and_colordewisol
Mathstring | null
Ffurf sylfaenol a phrif liw'r gwrthrych.
structured_prompt.objects[].texturedewisol
Mathstring | null
Gwead, er enghraifft: 'smooth', 'rough', 'metallic', neu 'furry'.
structured_prompt.objects[].appearance_detailsdewisol
Mathstring | null
Nodweddion gweledol ychwanegol sy'n werth eu nodi.
structured_prompt.objects[].number_of_objectsdewisol
Mathinteger | null
Nifer y gwrthrychau yn y clwstwr.
structured_prompt.objects[].posedewisol
Mathstring | null
Safle'r corff.
structured_prompt.objects[].expressiondewisol
Mathstring | null
Mynegiant a ddangosir ar yr wyneb.
structured_prompt.objects[].clothingdewisol
Mathstring | null
Dillad a wisgir.
structured_prompt.objects[].actiondewisol
Mathstring | null
Y weithred a gyflawnir gan y person.
structured_prompt.objects[].genderdewisol
Mathstring | null
Rhyw'r person.
structured_prompt.objects[].skin_tone_and_texturedewisol
Mathstring | null
Tôn a gwead y croen.
structured_prompt.objects[].orientationdewisol
Mathstring | null
Cyfeiriadedd y person.
structured_prompt.background_settinggofynnol
Mathstring
Disgrifiad o'r olygfa gyfan: ble mae'n digwydd, ei hamgylchedd neu'i chefndir, ac unrhyw nodweddion cefndirol sy'n werth eu nodi.
structured_prompt.lightinggofynnol
Mathobject
Gwybodaeth sy'n disgrifio'r goleuo.
structured_prompt.lighting.conditionsgofynnol
Mathstring
Mae enghreifftiau o oleuo'n cynnwys 'bright daylight', 'dim indoor', 'studio lighting', a 'golden hour'.
structured_prompt.lighting.directiongofynnol
Mathstring
Cyfeiriad y goleuo; mae enghreifftiau'n cynnwys 'front-lit', 'backlit', a 'side-lit from left'.
structured_prompt.lighting.shadowsdewisol
Mathstring | null
Disgrifiad o unrhyw gysgodion sy'n bresennol.
structured_prompt.aestheticsgofynnol
Mathobject
Gwybodaeth sy'n disgrifio estheteg y ddelwedd.
structured_prompt.aesthetics.compositiongofynnol
Mathstring
Arddull cyfansoddi; mae enghreifftiau'n cynnwys 'rule of thirds', 'symmetrical', 'centered', a 'leading lines'.
structured_prompt.aesthetics.color_schemegofynnol
Mathstring
Cynllun lliwiau; mae enghreifftiau'n cynnwys 'monochromatic blue', 'warm complementary colors', a 'high contrast'.
structured_prompt.aesthetics.mood_atmospheregofynnol
Mathstring
Naws neu awyrgylch, er enghraifft `joyful`, `serene`, `mysterious`, neu `energetic`.
structured_prompt.aesthetics.aesthetic_scoregofynnol
Mathstring
Disgrifiad sgôr, er enghraifft medium, very low, low, very high, neu high.
structured_prompt.aesthetics.preference_scoregofynnol
Mathstring
Disgrifiad sgôr, er enghraifft medium, very low, low, very high, neu high.
structured_prompt.photographic_characteristicsdewisol
Mathobject
Gwybodaeth sy'n disgrifio'r rhinweddau ffotograffig.
structured_prompt.photographic_characteristics.depth_of_fieldgofynnol
Mathstring
Dyfnder maes; mae enghreifftiau'n cynnwys 'shallow', 'deep', a 'bokeh background'.
structured_prompt.photographic_characteristics.focusgofynnol
Mathstring
Nodweddion ffocws; mae enghreifftiau'n cynnwys 'sharp focus on subject', 'soft focus', a 'motion blur'.
structured_prompt.photographic_characteristics.camera_anglegofynnol
Mathstring
Ongl camera; mae enghreifftiau'n cynnwys 'eye-level', 'low angle', 'high angle', a 'dutch angle'.
structured_prompt.photographic_characteristics.lens_focal_lengthgofynnol
Mathstring
Math o lens neu hyd ffocal, er enghraifft `macro`, `fisheye`, `wide-angle`, neu `telephoto`.
structured_prompt.style_mediumdewisol
Mathstring | null
Cyfrwng neu arddull artistig a ddefnyddir.
structured_prompt.text_renderdewisol
Mathobject[]
Rhestr o elfennau testun a rendrir yn y ddelwedd.
structured_prompt.text_render[].textgofynnol
Mathstring
Cynnwys y testun.
structured_prompt.text_render[].locationgofynnol
Mathstring
Lleoliad, er enghraifft: 'center', 'top-left', neu 'bottom-right foreground'.
structured_prompt.text_render[].sizegofynnol
Mathstring
Maint, er enghraifft: 'small', 'medium', neu 'large within frame'.
structured_prompt.text_render[].colorgofynnol
Mathstring
Lliw, er enghraifft `green`, `red`, neu `blue`.
structured_prompt.text_render[].fontgofynnol
Mathstring
Arddull ffont, er enghraifft `minimalist`, `realistic`, neu `cartoonish`.
structured_prompt.text_render[].appearance_detailsdewisol
Mathstring | null
Nodweddion gweledol ychwanegol sy'n werth eu nodi.
structured_prompt.contextgofynnol
Mathstring
Cyd-destun ychwanegol i gynorthwyo dehongli'r ddelwedd.
structured_prompt.artistic_stylegofynnol
Mathstring
Nodweddion artistig penodol, wedi'u mynegi mewn hyd at 3 gair.
structured_prompt.subject_emotionsdewisol
Mathstring | null
Disgrifiad penodol o fynegiannau neu emosiynau gweladwy'r gwrthrychau.
image_urldewisol image
Mathurl · image
URL y ddelwedd fewnbwn.
seeddewisol
Mathinteger
Rhagosodedig7
Hadau a ddefnyddir gan y generadur rhifau ar hap.
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-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.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
stringTrosolwg byr o gynnwys y ddelwedd, wedi'i gyfyngu i 200 o eiriau.
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}Rhestr o wrthrychau nodedig yn y blaendir neu'r canoldir.
background_setting
stringDisgrifiad o'r olygfa gyfan: ble mae'n digwydd, ei hamgylchedd neu'i chefndir, ac unrhyw nodweddion cefndirol sy'n werth eu nodi.
lighting
object {conditions, direction, shadows}Gwybodaeth sy'n disgrifio'r goleuo.
aesthetics
object {composition, color_scheme, mood_atmosphere, aesthetic_score, preference_score}Gwybodaeth sy'n disgrifio estheteg y ddelwedd.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullGwybodaeth sy'n disgrifio'r rhinweddau ffotograffig.
style_medium
string | nullCyfrwng neu arddull artistig a ddefnyddir.
text_render
array of object {text, location, size, color, font, appearance_details} | nullRhestr o elfennau testun a rendrir yn y ddelwedd.
context
stringCyd-destun ychwanegol i gynorthwyo dehongli'r ddelwedd.
artistic_style
stringNodweddion artistig penodol, wedi'u mynegi mewn hyd at 3 gair.
subject_emotions
string | nullDisgrifiad penodol o fynegiannau neu emosiynau gweladwy'r gwrthrychau.

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-lite/generate/structured_prompt.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt