MuseSpark
MuseSpark
Guides

Prepare media inputs

Prepare reference images, videos, and audio using the exact requirements of your MuseSpark model or tool.

Media requirements belong to the selected model and input mode. Check its parameter definitions before constructing a request.

Choose a supported representation

A field may accept a public HTTP(S) URL, a complete Data URI, or another explicitly documented representation. Send only the representation listed for that field. A browser preview or local filesystem path does not establish that the task service can access the resource.

Validate the input

Check the declared format, file size, dimensions, duration, count, and ordering requirements. Preserve reference order when a model assigns meaning to the first image, frame, or other position. Apply conditional requirements as well as the field's individual limits.

Keep resources accessible

For URL inputs, keep the resource accessible while the task is queued and executing. Ensure signed URLs remain valid for the expected workflow. Access to a file in your authenticated browser does not guarantee access from the task service.

Submit and follow the task

Use the model page's exact request field names and scenario example. Follow the async task quickstart, then retrieve the result. If validation or media access fails, inspect the task error and recheck the model's input requirements.