Skip to Content
AI assistants

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.

Address
https://tensorfactory.ai/mcp

Sign in

WayUse it for
OAuthAssistants: 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.

InputTypeNotes
promptstringRequired, 1 to 2,000 characters.
aspect_ratio1:1, 16:9, 9:16, 4:3, 3:4, 4:5Default 1:1.
resolution1K, 1.3K, 2KDefault 1K. Larger sizes are slower and cost more.
seedinteger0 to 2147483647, random when left out.
modeauto, fast, maxDefault auto: always fast, 4 steps. Send mode or steps, not both.
stepsinteger1 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.

InputTypeNotes
promptstringRequired: the change to make. The photos are picture 1, 2 and 3.
image_urlstringRequired. An https link to a JPEG, PNG or WebP. All photos together at most 7 MiB.
image_url_2, image_url_3stringOptional: links to more photos the edit uses.
transparent_backgroundbooleantrue: the result comes back as a PNG with its background removed.
aspect_ratioauto, 1:1, 16:9, 9:16Default auto: the photo's own shape.
resolution1K, 2KDefault 1K.
seedinteger0 to 2147483647.
modeauto, fast, max, detailDefault 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.
stepsinteger1 to 50. Leave it out and mode decides.

get_generation

InputTypeNotes
idstringRequired: 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.

InputTypeNotes
personaobjectOptional: name, maker, instructions, greeting, knowledge, with the same limits as the API.

get_live_session (Beta)

InputTypeNotes
idstringRequired: the id create_live_session returned.

Results

generate_image and edit_image wait up to 25 seconds. Images are JPEG.

OutcomeWhat the tool returns
DoneThe 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 runningStill running. Call get_generation with id ...
Failed, or a request problemAn 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.

On this page