generate_and_merge_media
Create a music video by merging a source image or video with AI-generated audio, resulting in a playable video artifact.
Instructions
Generates a music video by combining AI-generated audio with the source image or video.
Args: source_media_url: A publicly accessible URL to a source image or video. music_prompt: Optional music description. If omitted, Gemini generates one.
IMPORTANT: The output of this tool is valid HTML. You MUST display this output to the user by generating a generic HTML Artifact containing the exact code returned by the tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_media_url | Yes | ||
| music_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |