Import public HTTPS media
studio_media_import_urlImport a public HTTPS song, artist photo or reference into the same private attachment pipeline as an upload. projectId is optional in the schema but required to attach media: omission returns guidance to select a project, never another user project. Refuses private/loopback destinations, unsafe redirects, DNS rebinding, invalid file types, oversized downloads and slow sources. Song/photo replacement rules remain unchanged. Identical reference bytes in the same project replay the existing asset. Returns assetId and status; no provider or language model is called.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A direct public HTTPS media URL, port 443, without user credentials. | |
| purpose | Yes | The customer file role; this never selects a paid generation. | |
| projectId | No | The project receiving the file. Required for song, Artist DNA (artist is derived from the project) and reference attachment; no project is selected implicitly. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||