# Create a morph

`POST /v1/jobs`

Give Sign Morph one signing video and a photo (or a preset avatar), and get the same signing back performed by the new person. Runs in the background and answers `202 Accepted`. Billed at $0.055 / s (480p) · $0.11 / s (720p) of output, 10 second minimum.

## Headers

- `Authorization` (string, required): Bearer authentication of the form `Bearer <token>`, where the token is your API key (`sk-live-…` or `sk-test-…`).
- `Idempotency-Key` (string): Any unique string (up to 255 characters). A retry with the same key and body returns the first answer and is never charged twice. See [Idempotency](/docs/idempotency).

## Request body

- `type` (enum, required): Must be `sign_morph`. One of: `sign_morph`.
- `video` (file): The signing video, up to 200 MB and 30 seconds. Or use `video_upload_id`.
- `video_upload_id` (string): An `upl_…` id from `POST /v1/uploads`, instead of `video`.
- `photo` (file): JPG, PNG or WEBP of the new person, up to 10 MB. Or use `avatar`.
- `avatar` (enum): A preset person instead of `photo`. One of: `arthur`, `amara`, `daniel`, `elena`.
- `quality` (enum): Output quality. Defaults to `720p`. One of: `480p`, `720p`.
- `consent` (boolean, required): Must be `true`: you have the rights to the photo and video and the consent of every person in them.

## Response

Returns a job. When `succeeded`, `result` holds:

- `video_url` (string): The morphed MP4 (with your key). `download_url` works without a key for 1 hour.
- `durationSeconds` (number): Length of the output.
- `billedSeconds` (number): Seconds billed (at least 10).
- `quality` (string): `480p` or `720p`.

## Errors

- 400 Bad request: A field is missing, a file is not valid, or `consent` is not `true` (`consent_required`).
- 401 Unauthorized: The API key is missing or not valid (`invalid_api_key`).
- 402 Payment required: Your wallet does not have enough funds for this request (`insufficient_credits`). Nothing is charged.
- 429 Too many requests: You hit a rate limit. Wait for `Retry-After` seconds. See [Rate limits](/docs/rate-limits).

## Example request

```bash
curl https://api-staging.talksign.co/v1/jobs \
  -H "Authorization: Bearer $TALKSIGN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "sign_morph",
    "video_upload_id": "upl_0a1b2c3d4e5f60718293a4b5",
    "avatar": "amara",
    "quality": "480p",
    "consent": true
  }'
```

## Example response

```json
{
  "id": "job_8c1d2e3f4a5b6c7d8e9f0a1b",
  "object": "job",
  "type": "sign_morph",
  "status": "queued",
  "created_at": "2026-11-22T12:00:00.000Z"
}
```
