> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bitstudio.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create images and video

> Use the public v1 API for product photos, try-on, editing, and video.

The base URL is **`https://api.bitstudio.ai`**. Authenticate with a [Studio workspace API key](https://docs.bitstudio.ai/api-reference/authentication.md); requests use that workspace’s access and credits.

1. Upload images or select saved assets.
2. Submit directly to the operation you want, such as `POST /v1/images/virtual-try-on` or `POST /v1/images/{id}/edit`.
3. Save the returned job IDs and poll `GET /v1/jobs/{id}`. On completion, use `result.url` and `result.id`.

A job tracks the progress of your request. You create it through the operation endpoint; every creation operation returns the same response shape.

> [card] [Try on one item](https://docs.bitstudio.ai/api-reference/try-on/single-item.md)
>
> Put a garment on a specific person with V6.

> [card] [Build a complete outfit](https://docs.bitstudio.ai/api-reference/try-on/multiple-items.md)
>
> Combine up to four garments in one result.

> [card] [Generate a product photo](https://docs.bitstudio.ai/api-reference/generate/product-photos.md)
>
> Create a new fashion image using your product references.

> [card] [Edit an image](https://docs.bitstudio.ai/api-reference/operations/edit.md)
>
> Change the background, pose, or details of a completed image.

## A consistent contract

Creation requests use plain operation fields: `model`, `resolution`, and the relevant references. Try-on defaults to `v6`; generate and text edit default to `nano-banana-2.1`. Omitted image counts default to one. Unknown input fields are rejected, and optional creation settings should be omitted rather than set to null.

Output IDs are opaque. Image results can be used as inputs for the next operation without understanding Studio’s version history. Treat new response fields as additive and ignore those your client does not use.

Use [idempotency keys](https://docs.bitstudio.ai/api-reference/errors.md) to retry creation requests safely. Existing unversioned image and asset endpoints remain available under **Legacy API** with their existing behaviour, including the unversioned try-on model default of `v1`.

For a shopper-facing fitting room, see the [virtual.fit integration docs](https://docs.virtual.fit).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.