Мазмұнға өту

Fibo Lite · Structured Prompt

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

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

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

API кілтін алу
Bria AI LLM Жылдам #bria#fibo#structured-prompt

Мәтінді немесе кескінді кескін жасамай, Fibo Lite құрылымдалған JSON сұрауына түрлендіреді

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

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

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

Сұрау жасау

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

Генерация үшін пайдаланылатын нұсқау.

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

Кіріс кескінінің URL мекенжайы.

әдепкі 7

Кездейсоқ сандар генераторы пайдаланатын seed.

Генерация үшін пайдаланылатын құрылымдалған нұсқау.

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

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

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

Fibo Lite · Structured Prompt туралы

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

Параметрлер

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

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
promptміндетті емес
Түріstring | null
Генерация үшін пайдаланылатын нұсқау.
structured_promptміндетті емес
Түріobject
Генерация үшін пайдаланылатын құрылымдалған нұсқау.
structured_prompt.short_descriptionміндетті
Түріstring
Кескін мазмұнының 200 сөзбен шектелген қысқаша сипаттамасы.
structured_prompt.objectsміндетті
Түріobject[]
Алдыңғы немесе ортаңғы пландағы маңызды нысандар тізімі.
structured_prompt.objects[].descriptionміндетті
Түріstring
Нысанды сипаттайтын қысқаша қорытынды.
structured_prompt.objects[].locationміндетті
Түріstring
Орналасуы, мысалы: 'center', 'top-left' немесе 'bottom-right foreground'.
structured_prompt.objects[].relationshipміндетті
Түріstring
Осы нысанның кескін ішіндегі басқа нысандармен байланысын сипаттаңыз.
structured_prompt.objects[].relative_sizeміндетті емес
Түріstring | null
Өлшемі, мысалы: 'small', 'medium' немесе 'large within frame'.
structured_prompt.objects[].shape_and_colorміндетті емес
Түріstring | null
Нысанның негізгі пішіні мен түсі.
structured_prompt.objects[].textureміндетті емес
Түріstring | null
Текстурасы, мысалы: 'smooth', 'rough', 'metallic' немесе 'furry'.
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
Сахнаның толық сипаттамасы: оның орны, айналасы немесе фоны және назар аударуға тұрарлық фондық ерекшеліктер.
structured_prompt.lightingміндетті
Түріobject
Жарықты сипаттайтын ақпарат.
structured_prompt.lighting.conditionsміндетті
Түріstring
Жарық мысалдары: 'bright daylight', 'dim indoor', 'studio lighting' және 'golden hour'.
structured_prompt.lighting.directionміндетті
Түріstring
Жарық бағыты; мысалдар: 'front-lit', 'backlit' және 'side-lit from left'.
structured_prompt.lighting.shadowsміндетті емес
Түріstring | null
Бар көлеңкелердің сипаттамасы.
structured_prompt.aestheticsміндетті
Түріobject
Кескіннің эстетикасын сипаттайтын ақпарат.
structured_prompt.aesthetics.compositionміндетті
Түріstring
Композиция стилі; мысалдар: 'rule of thirds', 'symmetrical', 'centered' және 'leading lines'.
structured_prompt.aesthetics.color_schemeміндетті
Түріstring
Түс схемасы; мысалдар: 'monochromatic blue', 'warm complementary colors' және 'high contrast'.
structured_prompt.aesthetics.mood_atmosphereміндетті
Түріstring
Көңіл күйі немесе атмосферасы, мысалы `joyful`, `serene`, `mysterious` немесе `energetic`.
structured_prompt.aesthetics.aesthetic_scoreміндетті
Түріstring
Баға сипаттамасы, мысалы medium, very low, low, very high немесе high.
structured_prompt.aesthetics.preference_scoreміндетті
Түріstring
Баға сипаттамасы, мысалы medium, very low, low, very high немесе high.
structured_prompt.photographic_characteristicsміндетті емес
Түріobject
Фотографиялық сипаттарды сипаттайтын ақпарат.
structured_prompt.photographic_characteristics.depth_of_fieldміндетті
Түріstring
Өріс тереңдігі; мысалдар: 'shallow', 'deep' және 'bokeh background'.
structured_prompt.photographic_characteristics.focusміндетті
Түріstring
Фокус сипаттары; мысалдар: 'sharp focus on subject', 'soft focus' және 'motion blur'.
structured_prompt.photographic_characteristics.camera_angleміндетті
Түріstring
Камера бұрышы; мысалдар: 'eye-level', 'low angle', 'high angle' және 'dutch angle'.
structured_prompt.photographic_characteristics.lens_focal_lengthміндетті
Түріstring
Объектив түрі немесе фокустық қашықтық, мысалы `macro`, `fisheye`, `wide-angle` немесе `telephoto`.
structured_prompt.style_mediumміндетті емес
Түріstring | null
Пайдаланылған көркемдік орта немесе стиль.
structured_prompt.text_renderміндетті емес
Түріobject[]
Кескін ішінде көрсетілген мәтін элементтерінің тізімі.
structured_prompt.text_render[].textміндетті
Түріstring
Мәтін мазмұны.
structured_prompt.text_render[].locationміндетті
Түріstring
Орналасуы, мысалы: 'center', 'top-left' немесе 'bottom-right foreground'.
structured_prompt.text_render[].sizeміндетті
Түріstring
Өлшемі, мысалы: 'small', 'medium' немесе 'large within frame'.
structured_prompt.text_render[].colorміндетті
Түріstring
Түсі, мысалы `green`, `red` немесе `blue`.
structured_prompt.text_render[].fontміндетті
Түріstring
Қаріп стилі, мысалы `minimalist`, `realistic` немесе `cartoonish`.
structured_prompt.text_render[].appearance_detailsміндетті емес
Түріstring | null
Назар аударуға тұрарлық қосымша көрнекі белгілер.
structured_prompt.contextміндетті
Түріstring
Кескінді түсіндіруге көмектесетін қосымша контекст.
structured_prompt.artistic_styleміндетті
Түріstring
Ең көбі 3 сөзбен берілген нақты көркемдік белгілер.
structured_prompt.subject_emotionsміндетті емес
Түріstring | null
Нысандардың көрінетін эмоциялары немесе бет әлпеттерінің нақты сипаттамасы.
image_urlміндетті емес image
Түріurl · image
Кіріс кескінінің URL мекенжайы.
seedміндетті емес
Түріinteger
Әдепкі7
Кездейсоқ сандар генераторы пайдаланатын seed.
міндетті Канондық атау, бұл да қабылданады

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

Шығыс

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

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

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