Skip to content

Attachments

Attachments let you provide source material for a Mosaic Motion job.

The API accepts up to 10 attachments per job. Each attachment must be a publicly accessible signed URL.

Request shape

json
{
  "attachments": [
    {
      "url": "https://storage.example.com/signed/reference.png",
      "name": "Hero reference",
      "type": "image",
      "content_type": "image/png"
    }
  ]
}

Fields

FieldRequiredDescription
urlYesPublicly accessible signed URL. Maximum 4096 characters.
nameNoHuman readable label. Maximum 240 characters.
typeNoOne of image, video, audio, or file.
content_typeNoMIME type hint, such as image/png or video/mp4.

URL requirements

Signed URLs must be reachable by Motion servers without additional headers, cookies, or authentication.

Use URLs with enough time to live for ingestion and generation. For long video files, prefer a generous expiry.

Limits

  • Maximum attachments per job: 10.
  • Maximum URL length: 4096 characters.
  • Maximum attachment name length: 240 characters.
  • The API rejects more than 10 attachments with 400 Invalid request.

Mosaic Motion documentation.