AI assistants (MCP)
Use TensorFactory from ChatGPT, Claude, Cursor and other MCP clients.
TensorFactory is a remote MCP server. Add it once, sign in, and ask your assistant for an image.
https://tensorfactory.ai/mcpSign in
| Way | Use it for |
|---|---|
| OAuth | Assistants: the client opens the DV account sign-in and asks you to allow it. |
Authorization: Bearer tf_... | Scripts and clients without OAuth: send an API key from API keys. |
Images are paid from your TensorFactory credit, the same as the API. Live Avatar is off for now.
Set up your assistant
Tools
generate_image
Makes an image from a prompt.
| Input | Type | Notes |
|---|---|---|
prompt | string | Required, 1 to 2,000 characters. |
aspect_ratio | 1:1, 16:9, 9:16, 4:3, 3:4, 4:5 | Default 1:1. |
resolution | 1K, 1.3K, 2K | Default 1K. Larger sizes are slower and cost more. |
seed | integer | 0 to 2147483647, random when left out. |
mode | auto, fast, max | Default auto: always fast, 4 steps. Send mode or steps, not both. |
steps | integer | 1 to 50. Leave it out and mode decides. |
edit_image
Edits a photo with one sentence. Up to two more photos can go with it, such as a garment to dress the person in.
| Input | Type | Notes |
|---|---|---|
prompt | string | Required: the change to make. The photos are picture 1, 2 and 3. |
image_url | string | Required. An https link to a JPEG, PNG or WebP. All photos together at most 7 MiB. |
image_url_2, image_url_3 | string | Optional: links to more photos the edit uses. |
transparent_background | boolean | true: the result comes back as a PNG with its background removed. |
aspect_ratio | auto, 1:1, 16:9, 9:16 | Default auto: the photo's own shape. |
resolution | 1K, 2K | Default 1K. |
seed | integer | 0 to 2147483647. |
mode | auto, fast, max, detail | Default auto: detail for an edit about a person at 16:9 or 9:16, 1K, with one or two images, else fast (4 steps). detail needs aspect_ratio 16:9 or 9:16 at 1K. Send mode or steps, not both. |
steps | integer | 1 to 50. Leave it out and mode decides. |
get_generation
| Input | Type | Notes |
|---|---|---|
id | string | Required: the id generate_image or edit_image returned. |
create_live_session (Beta)
Starts a Live Avatar session: a link to open in a browser, or a place in line while the avatar is busy. Live Avatar is off for now: this tool and get_live_session answer with an error.
| Input | Type | Notes |
|---|---|---|
persona | object | Optional: name, maker, instructions, greeting, knowledge, with the same limits as the API. |
get_live_session (Beta)
| Input | Type | Notes |
|---|---|---|
id | string | Required: the id create_live_session returned. |
Results
generate_image and edit_image wait up to 25 seconds. Images are JPEG.
| Outcome | What the tool returns |
|---|---|
| Done | The image itself (an MCP image item), plus id, status, image_url, expired, width, height, seconds and price_usd, and a line of text: download the image when the run is done, it is deleted after the first download, or 10 minutes after the run if nobody downloads it. Once it is deleted, expired is true, image_url is null and no image item comes back. |
| Still running | Still running. Call get_generation with id ... |
| Failed, or a request problem | An error result with the message. |
create_live_session and get_live_session return id, status, join_url, expires_at, queue_position, retry_after_s, seconds and price_usd, with a line of text: the link to open (ready), the place in line (queued), or how the session went.