Cookies on Melter

We use cookies to keep you signed in and the site working. Everything else stays off until you choose.

Home
Pricing20% OFF

How to Use Reference Images for Seedance 2.0 on Melter

Reuse authorized reference images with Seedance 2.0 on Melter. Upload or select supported inputs, inspect the model schema and quote each generation through MCP & CLI.

For Seedance 2.0 and Fast on Melter, upload your authorized reference images once and use their input keys with the appropriate model. Reuse uploaded images through the composer or MCP & CLI. The source's video/audio asset registry is not a Melter Seedance input mode.

atlasclous asset library
atlasclous asset library

This guide follows the equivalent Melter flow: connect, upload or select an image, inspect the model and quote, then generate and track the result.

What Melter Uploads Are

Melter stores uploaded files and returns input keys. Pass a key to the slot named by get_model; for example, image for a starting frame. Do not send the source article's asset:// identifiers to Melter.

Two things to know up front, because they'll save you debugging time:

  • Reference types: Melter Seedance 2.0 and Fast accept images in their image/reference modes, not the source workflow’s audio or video assets. Inspect the selected model’s input roles first.
  • Upload method: use upload_from_url for a direct public HTTPS image file, or get_upload_page and wait_for_upload for a device file. Use the resulting Melter input key rather than a source asset:// identifier or inline base64.

Before you start

before you start
before you start

Connect a supported client through Melter MCP & CLI. Complete credential setup in its connection flow, not in the creative prompt. Inspect get_model for the selected model, request a quote, approve the credit limit, then call generate and follow the returned generation ID.

The original source used separate console and generation REST hosts. Melter uses the authenticated MCP connection for uploads and generation; the tool roles are listed below.

FunctionAccessMelter tool
Upload or select an inputAuthenticated MCPupload_from_url / list_uploads
Inspect, quote and generateAuthenticated MCPget_model / quote / generate

Connect through Melter's MCP & CLI setup. Keep credentials in the supported connection flow rather than in a prompt or shared example.

// Authenticate the MCP client using Melter's connection flow.
// The examples below assume that authenticated client is named client.
// Do not copy a source-platform API key or REST Authorization header.
// Calls below use the authenticated MCP transport.

The Upload-to-Generation Flow

Upload or select an image → inspect the model → quote and approve → generate → follow the same generation ID.

the code of creating the asset
the code of creating the asset

Step 1: Upload an Image

Import a direct public HTTPS image URL with kind image. Replace the explicit example address with a file you are authorized to use. This adapts the source's video-upload example because Melter Seedance does not accept reference video.

const data = (result) => {
  const block = result.content.find((item) => item.type === "text");
  if (result.isError || !block) throw new Error("MCP request failed");
  return JSON.parse(block.text);
};
const uploaded = data(await client.callTool({
  name: "upload_from_url",
  arguments: { url: "https://your-public-host.com/reference-image.jpg", kind: "image" }
}));

A successful upload_from_url result includes the input key. An error is not a usable key; correct the reported upload issue before proceeding.

The original source screenshot below illustrates its registry response. On Melter, retain the returned input key instead.

return the assets id
return the assets id

Keep the uploaded key for the selected model's image slot. It is an input reference, not a generation ID.

Quick Note: What counts as a "public URL"?

This is the step people get wrong most often, so it's worth being precise. Melter imports your file by doing a plain HTTP GET on the URL. That URL has to return the raw file bytes directly: no login, no cookies, no "click to view" page, no JavaScript required to render it.

The quick test: open the URL in a private/incognito browser tab. If the image displays or the video downloads with no sign-in, it may be suitable for import, subject to Melter's upload checks. If you see a viewer page, a sign-in prompt, or a preview UI, it won't.

This means a Google Photos or Google Drive share link will not work. Those links point to a web page that displays your media behind Google's auth and redirect system, not to the file itself. The importer would receive the page wrapper, not the media.

What works instead:

  • Object storage with public-read or a presigned URL: Amazon S3, Google Cloud Storage, Cloudflare R2, Azure Blob. Presigned URLs are ideal: public but time-limited.
  • A CDN or your own web server serving the file directly.
  • Melter's upload page. If you only have a local file (or a file exported from Google Photos), use get_upload_page, let the user upload it there, then receive its input key with wait_for_upload:
const uploadPage = data(await client.callTool({
  name: "get_upload_page", arguments: {}
}));
// Give the user uploadPage.url and retain uploadPage.since.

For the local-file alternative, use the returned page and its since timestamp. The next step waits for the user's upload; no source-platform public-storage URL or registration call is needed.

Step 2: Receive the Local Upload

Skip this wait if upload_from_url already returned your input key. For the local-file path, wait_for_upload returns uploaded files; if the user has not finished, call it again with the same since value.

const localFiles = data(await client.callTool({
  name: "wait_for_upload",
  arguments: { since: uploadPage.since, seconds: 45, count: 1 }
}));
// Continue only after localFiles.files contains the intended image.

The Melter flow is:

Public image URL → upload_from_url → input key
Local file → upload page → wait_for_upload → input key
Upload error → inspect and correct the file before generating

If an upload fails, inspect the returned error and correct the file's format, dimensions, size or access. Do not submit a generation using a failed upload. The source tables below describe its registry, not Melter's current upload contract.

The source screenshot below illustrates a policy error. In Melter, follow the actual upload error and use Help if you believe the rejection is incorrect. Copyright ownership alone does not override content rules.

violates guardrails.png
violates guardrails.png

Step 3: Reference it in a generation

Pass the image input key to the selected Melter model's image slot. Starting-image and reference-image modes have distinct input names; do not pass asset:// IDs or reference_video/reference_audio to Seedance 2.0 on Melter.

Inspect the model and quote the request through the same authenticated MCP connection. The example retains the complete source dolly-shot prompt.

const inputKey = uploaded.key; // For the local-file alternative use localFiles.files[0].key.
const settings = {
  model_id: "seedance-2.0-i2v",
  prompt: "A cinematic dolly shot, warm sunset light",
  inputs: { image: inputKey },
  duration_s: 5, resolution: "720p"
};
await client.callTool({ name: "get_model", arguments: { model_id: settings.model_id } });
const quote = data(await client.callTool({ name: "quote", arguments: settings }));
// Display quote.credits and obtain approvedCredits before generating.
const requestId = crypto.randomUUID();
const generation = data(await client.callTool({
  name: "generate",
  arguments: { ...settings, max_credits: approvedCredits, request_id: requestId }
}));
const generationId = generation.generation_id;
// Retain both IDs to recover after a network failure without another paid request.

Follow the returned generation ID until the result is ready. Reuse that ID instead of starting another request after a timeout.

const status = await client.callTool({
  name: "wait_for_generation",
  arguments: { id: generationId, seconds: 45 }
});
// If still running, wait on this same ID. Do not submit another paid request.

A completed Melter result includes its preview, temporary download link and creation page. Continue waiting on the same ID while it is running; inspect the returned error if it fails.

Reuse the existing input key for compatible future requests while the upload remains available. Each new generation still needs its own quote and approved credit limit.

Managing assets

Use list_uploads to retrieve recent Melter input keys. The source registry's rename, trash, trash-list and restore endpoints are not exposed as equivalent MCP tools; do not call invented management tools.

const uploads = data(await client.callTool({
  name: "list_uploads", arguments: { limit: 20 }
}));
// Select an existing upload key from uploads.uploads.
// Source registry actions documented in the original example:
// rename, move to trash, list trash, restore.
// These are not Melter MCP tools. Use available account UI controls;
// never substitute an undocumented delete endpoint.

The original source registry used recoverable deletion. That behavior does not establish a Melter trash/restore API or a guarantee that deleting an upload is reversible.

Original Source Registry Requirements

These tables retain the source registry's exact limits for reference. They are not Melter limits or evidence that Melter Seedance accepts video/audio. Use the actual upload response and the selected model's get_model schema.

Image

PropertyLimit
Formatsjpeg, png, webp, bmp, tiff, gif, heic/heif
Aspect ratio (W/H)0.4 – 2.5
Width / height300 – 6000 px
Size< 30 MB

Video

PropertyLimit
Formatsmp4, mov
Resolution480p, 720p
Duration2 – 15 s
Aspect ratio (W/H)0.4 – 2.5
Width / height300 – 6000 px
Total pixels (W×H)409,600 – 927,408 (e.g. 640×640 to 834×1112)
Size≤ 50 MB
FPS24 – 60

Audio

PropertyLimit
Formatswav, mp3
Duration2 – 15 s
Size≤ 15 MB

Original Source REST Error Codes

CodeMeaning
200Success
400Invalid request
401Missing or invalid API key
404Asset not found
500Server error

Gotchas worth remembering

  • Reference types: Melter Seedance uses image input keys; the source’s mandatory video/audio asset registration does not apply to these modes.
  • Upload method: use a direct HTTPS file with upload_from_url or the local upload-page flow, not an unsupported inline base64 payload.
  • Connection: model inspection, uploads, quotes and generation use the authenticated Melter MCP connection; do not mix in the source provider’s separate asset and API hosts.
  • Validate before generating: inspect required inputs and supported settings, resolve upload errors, and approve the quote before submitting a paid request.

Start building

Connect a client and inspect the supported Seedance 2.0 image workflow.