---
title: "Wizard bootstrap: draft + active avatars + scenes_by_avatar + backgrounds."
method: GET
path: "/api/v1/generate/wizard-session/{draft_id}"
tags: ["Generate"]
---

# Wizard bootstrap: draft + active avatars + scenes_by_avatar + backgrounds.

`GET /api/v1/generate/wizard-session/{draft_id}`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/generate/wizard-session/{draft_id}`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Path parameters

- `draft_id` integer, required

## Response `200`

OK

- WizardSessionResponse
  - `avatars` WizardAvatarOption[]
    - `default_text_style` string
    - `description` string
    - `face_focus` FaceFocusPoint: Where a square or circular crop of a face image has to look. Percentages of the FULL stored frame, so the SPA can hand them straight to a CSS ``object-position``. Written by ``app.modules.avatars.face_focus``; absent (``None``) when no face was detected, and the shared `AvatarFace` component then falls back to its upper-third default.
      - `x` number, required
      - `y` number, required
    - `face_image` string, nullable
    - `id` integer, required
    - `name` string, required
    - `story` string
    - `voice_id` string, nullable
  - `backgrounds` WizardBackground[]
    - `category` string, nullable
    - `id` integer, required
    - `image_file` string, nullable
    - `name` string, required
  - `draft` WizardDraftView
    - `current_step` integer
    - `draft_data` object
    - `id` integer, required
  - `scenes_by_avatar` object

## Other responses

- `404`: Not Found
- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/avatarfactory/apis/avatarfactory-api.md) · [All operations](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/revisions/66fc7aa3f296?raw)
