> For the complete documentation index, see [llms.txt](https://bountyv.gitbook.io/vdocs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bountyv.gitbook.io/vdocs/readme.md).

# Substance AI API

Uncensored image and video generation over a simple REST API — the same engine that powers the Substance panel, white-label with no attribution.

Use Substance AI to:

* **Generate images** — [text-to-image](/vdocs/image-api/images-txt2img.md) across eight engines, [image editing](/vdocs/image-api/images-edit.md), [image-to-image / inpaint](/vdocs/image-api/images-i2i.md), and [image-to-video](/vdocs/image-api/images-img2video.md).
* **Create reusable Souls** — build a [saved identity](/vdocs/soul-api/identities-create.md) from a photo, then [generate images locked to it](/vdocs/soul-api/identities-generate.md).
* **Produce video** — [recreate a reel](/vdocs/video-api/videos-generate.md) with a swapped identity, [swap a Soul onto a reel](/vdocs/video-api/videos-wan-reel.md), or [animate a still](/vdocs/image-api/images-img2video.md).
* **Ship creator tools** — [YouTube thumbnails](/vdocs/youtube-tools-api/thumbnail-generate.md) & [lyric videos](/vdocs/youtube-tools-api/lyric-video.md), [Steam artwork](/vdocs/game-tools-api/steam-artwork.md), [clip tools](/vdocs/clip-api/clip-overview.md), and [stream kits](/vdocs/stream-tools-api/stream-kit.md).

## Base URL

```
https://substance-api.com/api/v1
```

## Authentication

Every request requires a Bearer token:

```
Authorization: Bearer sk_live_...
```

Keys are issued manually. [Contact us](mailto:support@substance-ai.example) to get an API key.

## What's next

* [Getting Started](/vdocs/quickstart.md) — send your first request in under 5 minutes
* [Authentication](/vdocs/authentication.md) — key handling and security
* [Uploading Files](/vdocs/uploading-files.md) — how to send identity photos, source images, and reference videos
* [API Reference](/vdocs/api-reference/api.md) — full endpoint documentation
* [Examples](/vdocs/examples.md) — Python, Node.js, and cURL samples
* [Errors](/vdocs/errors.md) — status codes and retry guidance


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://bountyv.gitbook.io/vdocs/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
