---
title: "Run inference with a dreambooth model"
method: POST
path: "/dreambooth/inference"
tags: ["Dreambooth"]
---

# Run inference with a dreambooth model

`POST /dreambooth/inference`

Run inference on a pretrained model. The status of the job can be checked using the job_id.

## Request body

- InferenceRequest
  - `model` Model
    - `name` string
    - `revision` string
    - `sdxl` boolean
  - `prompts` RoutersDreamboothPrompt[], required
    - `complete` string, required
    - `negative` string, nullable
    - `count` integer
    - `id` string, nullable
  - `inference_params` InferenceParams
    - `steps` integer
    - `seed` integer
    - `cfg_scale` number
    - `width` integer
    - `height` integer
  - `enable_safe_mode` boolean
  - `img2img` Img2Img
    - `image_url` string, required
    - `denoising_strength` number
  - `inpaint` InPaint
    - `image_url` string, required
    - `mask_url` string, required
    - `denoising_strength` number
  - `controlnets` ControlNet[], nullable
    - `model` 'canny' | 'ip2p' | 'inpaint' | 'mlsd' | 'depth' | 'normalbae' | 'seg' | 'lineart' | 'lineart_anime' | 'openpose' | 'scribble' | 'softedge' | 'shuffle' | 'tile', required
    - `image_url` string, required
    - `scale` number
    - `preprocessor` 'HED' | 'midas' | 'MLSD' | 'openpose' | 'openpose_face' | 'openpose_face_only' | 'openpose_full' | 'openpose_hand' | 'pidi_net' | 'normal_bae' | 'lineart' | 'lineart_anime' | 'canny' | 'content_shuffle' | 'zoe' | 'mediapipe_face' | 'sam'
    - `params` object, nullable
  - `callback` string, nullable

## Response `201`

Successful Response

- DreamboothResponse
  - `job_id` string, required
  - `status` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/texel/apis/texel-api.md) · [All operations](https://skmtc.dev/texel/apis/texel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/texel/texel-api/revisions/b728014efdc8/schema)
