Import Media by URL (Popcraft)
popcraft_media_import_urlMirror a web media URL (image/video/audio) into Popcraft-owned GCS storage and return a media_id. Use this whenever a generation needs to reference media that lives outside Popcraft — e.g. a URL the user pasted, a link from search results, or an asset from another tool. The returned media_id is a stable GCS https URL: pass it as a medias[].value entry to popcraft_generate_image / popcraft_generate_video / popcraft_generate_audio. A media_id Popcraft already issued passes through unchanged — no need to re-import one you already have; any other URL (including a third-party storage.googleapis.com one) is fetched and re-hosted. Blocked for private/internal network addresses (SSRF protection). If the media is a LOCAL file with no public URL, use popcraft_media_upload_inline instead — do not ask the user to host it somewhere first. Popcraft MCP API docs: https://popcraft.ai/mcp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Publicly fetchable http(s) URL of the image/video/audio to import; gs:// or storage.googleapis.com URLs pass through unchanged | |
| type | No | Expected media type — used for validation/routing; omit to infer from the response |