# Shotstack

```json
{
  "name": "Shotstack",
  "slug": "shotstack",
  "url": "https://composio.dev/toolkits/shotstack",
  "markdown_url": "https://composio.dev/toolkits/shotstack.md",
  "logo_url": "https://logos.composio.dev/api/shotstack",
  "categories": [
    "entertainment & media"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-05-12T10:26:06.027Z"
}
```

![Shotstack logo](https://logos.composio.dev/api/shotstack)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Shotstack MCP or direct API to generate dynamic videos, create branded images, automate audio clips, and manage creative assets through natural language.

## Summary

Shotstack is a cloud platform for programmatically generating videos, images, and audio. Automate creative content production at scale with flexible RESTful APIs.

## Categories

- entertainment & media

## Toolkit Details

- Tools: 23

## Images

- Logo: https://logos.composio.dev/api/shotstack

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for Shotstack.
  - Setup:
    - Configure Api Key credentials for Shotstack.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Create a video slideshow from uploaded images
- Generate a branded video intro with logo
- Combine multiple video clips into one file
- Add background music to product demo video

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `SHOTSTACK_CREATE_TEMPLATE` | Create Template | Tool to create a new template for video editing. Use when you want to save a reusable timeline configuration as a template. Template changes do not retroactively affect past renders. |
| `SHOTSTACK_CREATE_TEMPLATE2` | Create Template (v2) | Tool to save an Edit as a re-usable template. Templates can be retrieved and modified before rendering. Use when you want to create a template with merge fields for dynamic content. |
| `SHOTSTACK_DELETE_INGESTED_MEDIA` | Delete Ingested Media | Tool to delete an ingested media asset. Use when you've confirmed the ingest ID and need to remove the file from Shotstack storage. |
| `SHOTSTACK_DELETE_TEMPLATE2` | Delete Template | Tool to delete a specific Shotstack template by its ID. Use when you need to remove a template permanently. |
| `SHOTSTACK_DELETE_WORKFLOW` | Delete Shotstack Workflow | Tool to delete a specific Shotstack workflow. Use when you need to permanently remove a workflow after confirming its ID. |
| `SHOTSTACK_FETCH_SOURCE` | Fetch Source | Tool to fetch a remote media file and store it as a source asset. Operation is asynchronous — poll SHOTSTACK_GET_INGEST_STATUS or SHOTSTACK_INSPECT_MEDIA until the asset is ready before passing it to SHOTSTACK_RENDER_VIDEO or other downstream tools. Use when you need to ingest a file before rendering. |
| `SHOTSTACK_GET_ASSETS` | Get Asset | Tool to fetch details of a hosted asset by its unique identifier. Use when you need to retrieve information about videos, images, audio files, thumbnails, or poster images hosted on Shotstack's CDN. |
| `SHOTSTACK_GET_ASSETS_RENDER` | Get Assets by Render ID | Tool to retrieve hosted assets by render ID. Use when you need to fetch one or more files (video, thumbnail, poster image) generated by a specific render job. |
| `SHOTSTACK_GET_RENDER_CALLBACK` | Get Render Callback | Tool to retrieve the webhook/callback URL configuration for a specific render job. Returns only callback settings (URL, method, headers), not render status or output URLs — use a separate render-status check to obtain final results. |
| `SHOTSTACK_GET_RENDER_STATUS` | Get Render Status | Tool to retrieve the current status and details of a Shotstack render job by render ID. Use when polling a render until done or failed, typically after creating a render with SHOTSTACK_RENDER_VIDEO. |
| `SHOTSTACK_GET_SOURCE` | Get Source Details | Tool to fetch the details of a specific source asset. Use when you need to inspect a source after uploading, check its status, or diagnose ingest/render failures—such as unsupported codecs, corrupt files, or bad URLs—before retrying. |
| `SHOTSTACK_GET_TEMPLATE` | Get Template | Tool to retrieve details of a specific template. Use when you have the ID of an existing template and need its metadata. |
| `SHOTSTACK_GET_TEMPLATE_BY_VERSION` | Get Template By Version | Tool to retrieve a template by template id and API version. Use when you need to fetch template details from a specific Edit API version. |
| `SHOTSTACK_GET_UPLOAD_URL` | Get Upload URL | Tool to request a signed URL for direct file upload to Shotstack. Use when you need to upload a file to Shotstack storage. The response returns a signed URL that you use to upload the file using a PUT request with the binary file. |
| `SHOTSTACK_INSPECT_MEDIA` | Inspect Media | Tool to inspect media metadata. Use before rendering to retrieve duration, resolution, frame rate, and format of an online media file — clip timecodes, trim points, and audio sync calculations depend on these values. Mixing assets without prior inspection can cause letterboxing, jitter, or audio sync issues in the final output. |
| `SHOTSTACK_LIST_SOURCES` | List Sources | Tool to list all source assets. Use when you need to retrieve source entries with optional pagination. |
| `SHOTSTACK_LIST_SOURCES2` | List Sources (with Environment) | Tool to list all ingested source files with environment selection. Use when you need to retrieve sources from stage (sandbox) or v1 (production) environment with optional pagination. |
| `SHOTSTACK_LIST_TEMPLATES` | List Templates | Tool to list all Shotstack templates for the account. Use after creating or updating templates to view your available templates. |
| `SHOTSTACK_LIST_TEMPLATES2` | List Templates with Environment | Tool to list all Shotstack templates for the specified environment. Use when you need to retrieve templates from a specific environment (stage or production). |
| `SHOTSTACK_POST_UPLOAD` | Request Upload URL | Tool to request a signed URL for direct file upload. Use when you need to upload a file to Shotstack storage. The response returns a signed URL that expires in one hour. |
| `SHOTSTACK_RENDER_VIDEO` | Render Video | Tool to initiate a new video render job. Use when you have defined a timeline and output settings and want to start rendering. |
| `SHOTSTACK_TRANSFER_ASSET` | Transfer Asset | Tool to transfer a file from any publicly available URL to one or more Serve API destinations. Use when you need to copy a file from an external source to Shotstack's hosting service or other configured destinations. |
| `SHOTSTACK_UPDATE_TEMPLATE` | Update Template | Tool to update an existing template by its ID. Use when you need to modify a template's name or edit configuration. Both name and complete template definition must be provided. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK
```python
pip install composio_openai
```

```typescript
npm install @composio/openai
```

#### Path 1, Step 2: Initialize Composio and Create Tool Router Session

Import and initialize Composio client, then create a Tool Router session
```python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
```

```typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
```

#### Path 1, Step 3: Execute Shotstack Tools via Tool Router with Your Agent

Get tools from Tool Router session and execute Shotstack actions with your Agent
```python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'Create a 30-second promo video using product images and a background track'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
```

```typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Create a 30-second promo video using product images and a background track'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and Claude Agent SDK
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
```

#### Path 2, Step 2: Create Tool Router Session

Initialize the Composio client and create a Tool Router session
```python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
```

```typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });

console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);
```

#### Path 2, Step 3: Connect to AI Agent

Use the MCP server with your AI agent
```python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Shotstack tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Render a video slideshow using my latest images')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText, stepCountIs } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: mcp.url,
    headers: { 'x-api-key': 'your-composio-api-key' }
  }
});

const tools = await client.tools();

const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{ role: 'user', content: 'Render a video slideshow using my latest images' }],
  stopWhen: stepCountIs( 5 )
});

console.log(`Agent: ${text}`);
```

## Why Use Composio?

### 1. AI Native Shotstack Integration

- Supports both Shotstack MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for reading, writing, and querying your Shotstack data

### 2. Managed Auth

- Built-in API key handling with secure storage and rotation
- Central place to manage, scope, and revoke Shotstack access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Shotstack
- Scoped, least privilege access to Shotstack resources
- Full audit trail of agent actions to support review and compliance

## Use Shotstack with any AI Agent Framework

Choose a framework you want to connect Shotstack with:

- [OpenAI Agents SDK](https://composio.dev/toolkits/shotstack/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/shotstack/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/shotstack/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/shotstack/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/shotstack/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/shotstack/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/shotstack/framework/hermes-agent)
- [Google ADK](https://composio.dev/toolkits/shotstack/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/shotstack/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/shotstack/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/shotstack/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/shotstack/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/shotstack/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/shotstack/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/shotstack/framework/autogen)

## Related Toolkits

- [Youtube](https://composio.dev/toolkits/youtube) - YouTube is a leading video-sharing platform for uploading, streaming, and discovering content. It empowers creators and businesses to reach global audiences and monetize their work.
- [Amara](https://composio.dev/toolkits/amara) - Amara is a collaborative platform for creating and managing subtitles and captions for videos. It helps make content accessible and multilingual for global audiences.
- [Cats](https://composio.dev/toolkits/cats) - Cats is an API with a huge library of cat images, breed data, and cat facts. It makes finding adorable cat photos and trivia effortless for your apps and users.
- [Chatfai](https://composio.dev/toolkits/chatfai) - Chatfai is an AI platform that lets users talk to AI versions of fictional characters from books, movies, and games. It offers an engaging, interactive experience for fans to chat, roleplay, and explore creative dialogues.
- [Cincopa](https://composio.dev/toolkits/cincopa) - Cincopa is a multimedia platform for uploading, managing, and customizing videos, images, and audio. It helps you deliver engaging media experiences with robust APIs and flexible integrations.
- [Dungeon fighter online](https://composio.dev/toolkits/dungeon_fighter_online) - Dungeon Fighter Online (DFO) is an arcade-style, side-scrolling action RPG packed with dynamic combat and progression. Play solo or with friends to battle monsters, complete quests, and upgrade your characters.
- [Elevenlabs](https://composio.dev/toolkits/elevenlabs) - Elevenlabs is an advanced AI voice generation platform for lifelike, multilingual speech synthesis. Perfect for creating natural voices for videos, apps, and business content in seconds.
- [Elevenreader](https://composio.dev/toolkits/elevenreader) - Elevenreader is an AI-powered text-to-speech service by ElevenLabs that converts written content into lifelike audio. It enables fast, natural audio generation from any text.
- [Epic games](https://composio.dev/toolkits/epic_games) - Epic Games is a leading video game publisher and digital storefront, known for Fortnite and Unreal Engine. It lets gamers access, manage, and purchase games all in one place.
- [Fal.ai](https://composio.dev/toolkits/fal_ai) - Fal.ai is a generative media platform offering 600+ AI models for images, video, voice, and audio. Developers use Fal.ai for fast, scalable access to cutting-edge generative AI tools.
- [Giphy](https://composio.dev/toolkits/giphy) - Giphy is the largest online library for searching and sharing GIFs and stickers. Instantly add vibrant animated content to your apps, chats, and workflows.
- [Headout](https://composio.dev/toolkits/headout) - Headout is a global platform for booking travel experiences, tours, and entertainment. It helps users discover and secure activities at top destinations, all in one place.
- [Imagekit io](https://composio.dev/toolkits/imagekit_io) - ImageKit.io is a cloud-based media management platform for image and video delivery. Instantly optimize, transform, and deliver visuals globally via a lightning-fast CDN.
- [Listennotes](https://composio.dev/toolkits/listennotes) - Listennotes is a powerful podcast search engine with a massive global database. Discover, search, and curate podcasts from around the world in seconds.
- [News api](https://composio.dev/toolkits/news_api) - News api is a REST API for searching and retrieving live news articles from across the web. Instantly access headlines, coverage, and breaking stories from thousands of sources.
- [RAWG Video Games Database](https://composio.dev/toolkits/rawg_video_games_database) - RAWG Video Games Database is the largest video game discovery and info service. Instantly access comprehensive details, ratings, and release dates for thousands of games.
- [Seat geek](https://composio.dev/toolkits/seat_geek) - SeatGeek is a live event platform offering APIs for concerts, sports, and theater data. Instantly access events, venues, and performers info for smarter ticketing and discovery.
- [Spotify](https://composio.dev/toolkits/spotify) - Spotify is a streaming service for music and podcasts with millions of tracks from artists worldwide. Enjoy personalized playlists, recommendations, and seamless listening across all your devices.
- [Ticketmaster](https://composio.dev/toolkits/ticketmaster) - Ticketmaster is a global platform for event discovery, ticket sales, and live entertainment management. Get real-time access to events and streamline ticketing for fans and organizers.
- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.

## Frequently Asked Questions

### Do I need my own developer credentials to use Shotstack with Composio?

Yes, Shotstack requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
