Shutterstock
  1. Renders
Shutterstock
  • Images
    • Search
      • Search for images
      • Run multiple image searches
      • Get suggestions for a search term
      • Get keywords from text
      • List image categories
      • List similar images
      • List recommended images
      • List updated images
    • Details
      • List images
      • Get details about images
    • Licenses And Downloads
      • License images
      • List image licenses
      • Download images
    • Collections
      • Create image collections
      • List image collections
      • Get the details of image collections
      • Rename image collections
      • Delete image collections
      • Add images to collections
      • Get the contents of image collections
      • Remove images from collections
    • Featured Collections
      • List featured image collections
      • Get the details of featured image collections
      • Get the contents of featured image collections
  • Computer Vision
    • Legacy
      • Upload ephemeral images
    • Upload
      • Upload images
    • Similar
      • List similar images
      • List similar videos
    • Keywords
      • List suggested keywords
  • Videos
    • Search
      • Search for videos
      • Get suggestions for a search term
      • List similar videos
      • List updated videos
    • Details
      • List videos
      • Get details about videos
      • List video categories
    • Licenses And Downloads
      • License videos
      • List video licenses
      • Download videos
    • Collections
      • Create video collections
      • List video collections
      • Get the details of video collections
      • Rename video collections
      • Delete video collections
      • Add videos to collections
      • Get the contents of video collections
      • Remove videos from collections
    • Featured Collections
      • List featured video collections
      • Get the details of featured video collections
      • Get the contents of featured video collections
  • Audio
    • Search
      • Search for tracks
      • List audio genres
      • List audio instruments
      • List audio moods
    • Details
      • List audio tracks
      • Get details about audio tracks
    • Licenses And Downloads
      • License audio tracks
      • List audio licenses
      • Download audio tracks
    • Collections
      • Create audio collections
      • List audio collections
      • Get the details of audio collections
      • Rename audio collections
      • Delete audio collections
      • Add audio tracks to collections
      • Get the contents of audio collections
      • Remove audio tracks from collections
  • Editorial Images
    • Search
      • Search editorial images
      • List updated content
    • Categories
      • List editorial categories
    • Details
      • Get editorial content details
    • Licenses And Downloads
      • List editorial image licenses
      • License editorial content
    • Livefeeds
      • Get editorial livefeed list
      • Get editorial livefeed
      • Get editorial livefeed items
    • Legacy
      • (Deprecated) Get editorial content details
      • (Deprecated) License editorial content
      • (Deprecated) Get editorial livefeed list
      • (Deprecated) Get editorial livefeed
      • (Deprecated) Get editorial livefeed items
      • (Deprecated) Search editorial content
      • (Deprecated) List editorial categories
      • (Deprecated) List updated content
  • Editorial Video
    • Search
      • Search editorial video content
    • Categories
      • List editorial video categories
    • Details
      • Get editorial video content details
    • Licenses And Downloads
      • List editorial video licenses
      • License editorial video content
  • Catalog
    • Search
      • Search catalogs for assets
    • Collections
      • List catalog collections
      • Create catalog collections
      • Update collection metadata
      • Delete catalog collections
    • Collection Items
      • Add items to catalog collections
      • Remove items from catalog collection
  • Custom Music
    • Renders
      • Create rendered audio
        POST
      • Get details about audio renders
        GET
    • Search
      • List computer audio instruments
      • List computer audio descriptors
  • Contributors
    • Contributors
      • Get details about multiple contributors
      • Get details about a single contributor
      • List contributors' collections
      • Get details about contributors' collections
      • Get the items in contributors' collections
  • Users
    • Details
      • Get user details
      • Get access token details
      • List user subscriptions
  • Test
    • Echo
      • Echo text
    • Validate
      • Validate input
  • Oauth
    • Authorization
      • Authorize applications
      • Get access tokens
  1. Renders

Create rendered audio

开发环境
开发环境
POST
/v2/ai/audio/renders
This endpoint creates rendered audio from timeline data. It returns a render ID that you can use to download the finished audio when it is ready. The render ID is valid for up to 48 hours.

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Basic 之后拼接空格,以及经过 Base64 编码的 username:password
示例:
Authorization: Basic *****************
Header 参数

Body 参数text/plain
示例

返回响应

🟢200OK
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/ai/audio/renders' \
--header 'User-Agent: ShutterstockWorkspace/1.1.30' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: text/plain' \
--data-raw '{
    "audio_renders": [
        {
            "preset": "<string>",
            "timeline": {
                "spans": [
                    {
                        "span_type": "<string>",
                        "time": "<integer>",
                        "id": "<number>",
                        "tempo": "<integer>",
                        "regions": [
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            },
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            }
                        ],
                        "instrument_groups": [
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            },
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            }
                        ],
                        "tempo_changes": [
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            },
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            }
                        ]
                    },
                    {
                        "span_type": "<string>",
                        "time": "<integer>",
                        "id": "<number>",
                        "tempo": "<integer>",
                        "regions": [
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            },
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            }
                        ],
                        "instrument_groups": [
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            },
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            }
                        ],
                        "tempo_changes": [
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            },
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            }
                        ]
                    }
                ]
            },
            "filename": "<string>"
        },
        {
            "preset": "<string>",
            "timeline": {
                "spans": [
                    {
                        "span_type": "<string>",
                        "time": "<integer>",
                        "id": "<number>",
                        "tempo": "<integer>",
                        "regions": [
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            },
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            }
                        ],
                        "instrument_groups": [
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            },
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            }
                        ],
                        "tempo_changes": [
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            },
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            }
                        ]
                    },
                    {
                        "span_type": "<string>",
                        "time": "<integer>",
                        "id": "<number>",
                        "tempo": "<integer>",
                        "regions": [
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            },
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            }
                        ],
                        "instrument_groups": [
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            },
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            }
                        ],
                        "tempo_changes": [
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            },
                            {
                                "value": "<Error: Too many levels of nesting to fake this schema>"
                            }
                        ]
                    }
                ]
            },
            "filename": "<string>"
        }
    ]
}'
响应示例响应示例
{
 "audio_renders": [
  {
   "id": "njlpYoWWmb1AYs2nZyw7EcNWbAkZ",
   "timeline": {},
   "status": "WAITING_COMPOSE",
   "preset": "MASTER_MP3",
   "progress_percent": 0,
   "files": [],
   "created_date": "2021-01-26T12:10:22-05:00",
   "updated_date": "2021-01-26T13:10:22-05:00"
  }
 ]
}
修改于 2024-04-26 03:33:20
上一页
Remove items from catalog collection
下一页
Get details about audio renders
Built with