---
title: "Generate first frames"
method: POST
path: "/projects/{pid}/generate/frames"
tags: ["Generate"]
---

# Generate first frames

`POST /projects/{pid}/generate/frames`

## Request

- Base URL: `https://getziztu.com/api/v1`
- URL: `https://getziztu.com/api/v1/projects/{pid}/generate/frames`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Requires max_credits. Above 500 credits also requires confirm: true. Use dry_run: true for a quote.

## Path parameters

- `pid` string, required

## Request body

- object
  - `shot_ids` string[]
  - `count` integer
  - `model` string
  - `max_credits` number, required
  - `confirm` boolean
  - `skip_blocked` boolean
  - `dry_run` boolean

## Response `200`

Quote (dry_run)

## Other responses

- `202`: Started
- `207`: Partial

---

[API](https://skmtc.dev/getziztu/apis/ziztu-api.md) · [All operations](https://skmtc.dev/getziztu/apis/ziztu-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getziztu/apis/ziztu-api/revisions/120b9e1e8f5e?raw)
