Мазмұнға өту

Fibo · Structured Prompt

Интеграциялау

Модель идентификаторы 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"

Осы сұрау: 0,01 $ 10 API кредиті Осы бетте іске қосу

API кілтін алу
Bria AI LLM #bria#fibo#structured-prompting

Сұрауды немесе эталондық кескінді кескінді бейнелеудің орнына Fibo-ның құрылымдалған JSON сипаттамасына айналдырады

Bria AI · Деректер (JSON)

Алғашқы нәтижеңіз осында пайда болады

Төменде сұрау құрып, оны API кілтіңізбен іске қосыңыз. Шығыстар сақтау орнымызға көшіріліп, мәңгі немесе 7 күн тегін сақталады.

Сұрау жасау

Басқару элементтері модель схемасынан жасалады. Оларды өзгерткен сайын код пен баға жаңартылады.

Кескіндер генерациясына пайдаланылған нұсқау.

Қосымша image · seed · structured_prompt
image_url
Файлды тастаңыз немесе

Файл немесе URL ретінде берілген анықтамалық кескін.

әдепкі 5555

Қайталанатын нәтижелер үшін кездейсоқтықты басқаратын seed.

Кескін генерациясына пайдаланылатын құрылымдалған нұсқау.

POST /run/bria/fibo/generate/structured_prompt?wait=20 бағасы → 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"

Осы сұрауды іске қосу

Кілтіңіз осы браузерде қалады: ол тек Doitong API-ге жіберіледі және Remember параметрін белгілеcеңіз ғана localStorage ішінде сақталады. API кілтін алу

Fibo · Structured Prompt туралы

Кескіннің өзін емес, оған арналған құрылымдалған нұсқауды қайтаратын, тілдік модель тәрізді соңғы нүкте. Кірістер: `prompt`, бұрыннан бар `structured_prompt` немесе референс `image_url`, сондай-ақ `seed`. JSON шығысында эстетика, жарықтандыру, нысандар, фотографиялық сипаттамалар, қысқаша сипаттама, стильдің көркемдік техникасы және рендерингке арналған мәтін сияқты өрістер бар.

Параметрлер

Канондық атауды немесе төл атауды жіберіңіз, екеуін қатар жібермеңіз. Канондық атаулар

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
promptміндетті емес
Түріstring | null
Кескіндер генерациясына пайдаланылған нұсқау.
structured_promptміндетті емес
Түріobject
Кескін генерациясына пайдаланылатын құрылымдалған нұсқау.
structured_prompt.short_descriptionміндетті емес
Түріstring | null
Көзделген шығыс кескінінің қысқаша сипаттамасы.
structured_prompt.objectsміндетті емес
Түріobject[]
Әдепкі[]
Генерацияланған кескіннің мазмұнын тізім түрінде көрсетіңіз, әр нысанның атрибуттары мен бейнеленген басқа нысандармен байланыстарын жазыңыз.
structured_prompt.objects[].descriptionміндетті емес
Түріstring | null
Көзделген шығыс нысанының сипаттамасы.
structured_prompt.objects[].locationміндетті емес
Түріstring | null
Нысанның кескін ішіндегі орны.
structured_prompt.objects[].relationshipміндетті
Түріstring
Нысанның кескіндегі басқа нысандармен байланысы.
structured_prompt.objects[].relative_sizeміндетті емес
Түріstring | null
Нысанның кескінге қатысты өлшемі.
structured_prompt.objects[].shape_and_colorміндетті емес
Түріstring | null
Нысанның пішіні мен түсі.
structured_prompt.objects[].textureміндетті емес
Түріstring | null
Нысанның текстурасы.
structured_prompt.objects[].appearance_detailsміндетті емес
Түріstring | null
Нысанның сыртқы көрінісін сипаттайтын мәліметтер.
structured_prompt.objects[].number_of_objectsміндетті емес
Түріinteger | null
Кескіндегі нысандар саны.
structured_prompt.objects[].poseміндетті емес
Түріstring | null
Бейнеленген нысанның позасы.
structured_prompt.objects[].expressionміндетті емес
Түріstring | null
Бейнеленген нысанның эмоциясы.
structured_prompt.objects[].clothingміндетті емес
Түріstring | null
Бейнеленген нысан киген киім.
structured_prompt.objects[].actionміндетті емес
Түріstring | null
Бейнеленген нысан орындайтын әрекет.
structured_prompt.objects[].genderміндетті емес
Түріstring | null
Бейнеленген нысанның жынысы.
structured_prompt.objects[].skin_tone_and_textureміндетті емес
Түріstring | null
Бейнеленген нысанның тері текстурасы мен реңкі.
structured_prompt.objects[].orientationміндетті емес
Түріstring | null
Бейнеленген нысанның бағдары.
structured_prompt.background_settingміндетті емес
Түріstring | null
Генерацияланған кескінге арналған фон ортасы.
structured_prompt.lightingміндетті емес
Түріobject
Генерацияланған кескінге арналған жарықтандыру.
structured_prompt.lighting.conditionsміндетті емес
Түріstring | null
Генерацияланған кескіннің жарық жағдайлары.
structured_prompt.lighting.directionміндетті емес
Түріstring | null
Генерацияланған кескіндегі жарық бағыты.
structured_prompt.lighting.shadowsміндетті емес
Түріstring | null
Генерацияланған кескінде бейнеленетін көлеңкелер.
structured_prompt.aestheticsміндетті емес
Түріobject
Генерацияланған кескіннің эстетикалық қасиеттері.
structured_prompt.aesthetics.compositionміндетті емес
Түріstring | null
Генерацияланған кескіннің композициясы.
structured_prompt.aesthetics.color_schemeміндетті емес
Түріstring | null
Генерацияланған кескіннің түстер палитрасы.
structured_prompt.aesthetics.mood_atmosphereміндетті емес
Түріstring | null
Генерацияланған кескіннің көңіл күйі мен атмосферасы.
structured_prompt.aesthetics.aesthetic_scoreміндетті емес
Түріstring | null
Генерацияланатын кескіннің эстетикалық бағасы.
structured_prompt.aesthetics.preference_scoreміндетті емес
Түріstring | null
Генерацияланатын кескіннің артықшылық бағасы.
structured_prompt.photographic_characteristicsміндетті емес
Түріobject
Генерацияланған кескіннің фотосуреттік сипаттары.
structured_prompt.photographic_characteristics.depth_of_fieldміндетті емес
Түріstring | null
Өріс тереңдігі.
structured_prompt.photographic_characteristics.focusміндетті емес
Түріstring | null
Фокус.
structured_prompt.photographic_characteristics.camera_angleміндетті емес
Түріstring | null
Камера бұрышы.
structured_prompt.photographic_characteristics.lens_focal_lengthміндетті емес
Түріstring | null
Фокустық қашықтықпен көрсетілген объектив параметрі.
structured_prompt.style_mediumміндетті емес
Түріstring | null
Генерацияланған кескіннің стильдік ортасы.
structured_prompt.text_renderміндетті емес
Түріany[]
Әдепкі[]
Кескінге қосылатын мәтіндік жазбалар тізімі.
structured_prompt.contextміндетті емес
Түріstring | null
Генерацияланған кескіннің контексті.
structured_prompt.artistic_styleміндетті емес
Түріstring | null
Генерацияланған кескіннің көркемдік стилі.
structured_prompt.trigger_wordміндетті емес
Түріstring | null
structured_prompt.sub_trigger_wordміндетті емес
Түріstring | null
structured_prompt.art_directionміндетті емес
Түріstring | null
structured_prompt.action_descriptionміндетті емес
Түріstring | null
structured_prompt.actor_prefixміндетті емес
Түріstring | null
image_urlміндетті емес image
Түріurl · image
Файл немесе URL ретінде берілген анықтамалық кескін.
seedміндетті емес
Түріinteger
Әдепкі5555
Қайталанатын нәтижелер үшін кездейсоқтықты басқаратын seed.
міндетті Канондық атау, бұл да қабылданады

Файл параметрлері жалпыға қолжетімді https:// URL мекенжайын, 10 MB-қа дейінгі data: URI мекенжайын немесе жүктеп салынған файлдың file_url мәнін қабылдайды. Файлдар

Шығыс

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"
  }
}
Файлдарыңыз — таңдауыңызӘр outputs[].url — сақтау орнымыздағы көшірме: мәңгі (әр GB-ай үшін ақылы) немесе аккаунт параметрі не ?storage= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдейtype, url, content_type, width, height және duration — кескіндерге, бейнеге және аудиоға ортақ. output — модельдің өз нәтижелер нысаны.
Шығыс өрістері
short_description
string | nullКөзделген шығыс кескінінің қысқаша сипаттамасы.
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} | nullГенерацияланған кескіннің мазмұнын тізім түрінде көрсетіңіз, әр нысанның атрибуттары мен бейнеленген басқа нысандармен байланыстарын жазыңыз.
background_setting
string | nullГенерацияланған кескінге арналған фон ортасы.
lighting
object {conditions, direction, shadows} | nullГенерацияланған кескінге арналған жарықтандыру.
aesthetics
object {composition, color_scheme, mood_atmosphere, aesthetic_score, preference_score} | nullГенерацияланған кескіннің эстетикалық қасиеттері.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullГенерацияланған кескіннің фотосуреттік сипаттары.
style_medium
string | nullГенерацияланған кескіннің стильдік ортасы.
text_render
array of any | nullКескінге қосылатын мәтіндік жазбалар тізімі.
context
string | nullГенерацияланған кескіннің контексті.
artistic_style
string | nullГенерацияланған кескіннің көркемдік стилі.

Қосымша модельдер: LLM

AI агенттеріне: бұл беттің Markdown нұсқасы мына жерде: https://doitong.com/kk/developers/models/bria/fibo/generate/structured_prompt.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt