---
title: "POST /v1/backgrounds/"
method: POST
path: "/v1/backgrounds/"
---

# POST /v1/backgrounds/

`POST /v1/backgrounds/`

## Request

- Base URL: `https://api.picsha.ai`
- URL: `https://api.picsha.ai/v1/backgrounds/`
- Auth: HTTP bearer

## Request body

- object
  - `name` string, required
  - `assetId` string, uuid, required: An existing image asset (uploaded via /v1/assets) to register as a compositing background.
  - `metadata` object

## Response `201`

Default Response

- object
  - `id` string, required
  - `name` string, required
  - `s3Key` string, required
  - `mimeType` string, required
  - `width` number, nullable, required
  - `height` number, nullable, required
  - `metadata` object, nullable, required
  - `createdAt` string, required
  - `updatedAt` string, required

## Other responses

- `400`: Default Response
- `404`: Default Response
- `500`: Default Response

---

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