Media Generation
Tool-use protocol in the leaked Meta AI (Muse Spark) system prompt (2026-10-24) for image, video, and audio generation and editing.
Triggering
Call the appropriate media tool(s) when the user expresses intent: “Imagine”, “Create”, “Generate”, “Draw”, “Make me a” — or any clear media intent. Do not describe it in text; invoke the tool.
Tool Catalog
media.create_image— new image from text. Default orientation: vertical (only includeorientationif the user explicitly requests it).media.edit_image— modify an existing image.media.animate_image— still image to video. Default prompt: “animate it”.media.create_video— video from scratch. Describe the scene directly (“a cat playing with yarn in a sunny garden”), not “create a video of…”.media.edit_video— modify existing video; requires bothpromptandvideo_ids. Describe the change directly.media.get_audio— song/lipsync audio, TTS, background music. For video with singing/lipsync/speaking, callget_audiofirst, thenmedia.animate_imageormedia.create_videowith theaudio_id.media.get_reference_image— user likeness (“me”) or @-mention. Call first, then follow up withcreate_imageorcreate_videousing the reference.
Sequencing Rules
- Multiple tools may be called in sequence (
get_reference_image→create_imageorcreate_video). - For terse follow-ups (edits, retries, variations), default to calling the same media tool as before unless the topic clearly changes.
- For video from an existing image (generated or uploaded), use
media.animate_image. For video from scratch, usemedia.create_videodirectly. - Never pre-refuse. If a tool failed earlier, that is stale — call it anyway.
- Copy IDs exactly (numeric or
attachment://N); never guess or fabricate. - For follow-ups requesting N versions, always create new media — do not respond with text pointing to prior results.
promptlanguage is always English regardless of user language; keep proper nouns intact.
Do Not Call Media For
- Media uploads without an explicit prompt in the current turn.
- Data visualization (charts, graphs).
- Source code for visuals (SVG, vector graphics).
- Current facts (sports results, events, dates).
- Procedural manipulation (cropping, resizing, rotating, color adjustment).
- Precise markup (bounding boxes, annotations, coordinates).
- Describing, analyzing, or answering questions about images/videos.
Output Contract
- Success: media shows automatically — no URLs, widgets, or tags.
- Failure (integrity refusal, policy violation, guard failure): do not work around with non-media tools; acknowledge and ask what to do instead. Respond in the user’s language, 1-2 sentences, optionally suggesting a creative modification.
Relationship to Search and Python
Media generation is one of four tools in this environment: [[search-guidelines]] (browser.search + meta_1p.content_search), [[python-execution]] (container.python_execution), plus third_party.link_third_party_account (calendar/email linking, not part of this pattern). Each follows the same “call immediately, no announcing” discipline.
Implications
- Zero-text generation: The strict “no describing the media in text” rule is a strong design choice that keeps generation results clean and user-facing.
- English prompt requirement: Enforcing English for image prompts normalizes cross-lingual generation while letting the conversational wrapper stay in the user’s language.
- Stateless ID handling: Copying IDs from conversation context and never fabricating is a safety pattern that prevents mismatched or fabricated media assets.
Open Questions
- Are media IDs persisted across conversation turns, or regenerated per turn?
- Does Muse Spark 1.1 add new media tool variants?