Мазмұнға өту

Fibo Edit [Structured Instruction]

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

Модель идентификаторы bria/fibo-edit/edit/structured_instruction
# 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-edit/edit/structured_instruction?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# 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 · Деректер (JSON)

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

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

Сұрау жасау

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

Қосымша instruction · image · mask · seed

Кескінді өңдеуді сипаттайтын нұсқау.

image_url
Файлды тастаңыз немесе

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

mask_url
Файлды тастаңыз немесе

Анықтамалық кескінге арналған файл немесе URL түрінде берілетін қосымша маска.

әдепкі 5555

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

POST /run/bria/fibo-edit/edit/structured_instruction?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-edit/edit/structured_instruction?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# 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 Edit [Structured Instruction] туралы

Кескіннің өзін емес, өңдеуге арналған құрылымдалған нұсқаулықты ғана жасайды. Енгізулер: қосымша `image_url`, `mask_url`, `instruction` және `seed`. JSON нәтижесінде нысандар, жарық, эстетика, фон параметрлері, фотосурет сипаттары және көрсетілетін мәтін сияқты өрістер қамтылады.

Параметрлер

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

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
image_urlміндетті емес image
Түріurl · image
Файл немесе URL ретінде берілген анықтамалық кескін.
mask_urlміндетті емес mask
Түріurl · image
Анықтамалық кескінге арналған файл немесе URL түрінде берілетін қосымша маска.
instructionміндетті емес
Түріstring | null
Кескінді өңдеуді сипаттайтын нұсқау.
seedміндетті емес
Түріinteger
Әдепкі5555
Қайталанатын нәтижелер үшін кездейсоқтықты басқаратын seed.
міндетті Канондық атау, бұл да қабылданады

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

Шығыс

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo-edit/edit/structured_instruction",
  "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": {},
  "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",
      "preference_score": "string",
      "aesthetic_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",
    "edit_instruction": "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, preference_score, aesthetic_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Генерацияланған кескіннің көркемдік стилі.
edit_instruction
string | nullКескінді өңдеу жолын сипаттайтын нұсқау.

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

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