# Ffmpeg Api Images to Video > A Mixio endpoint that stitches an ordered list of images into an MP4 video by holding each image for a specified number of frames at a configurable frame rate ## Overview - **Endpoint**: `https://inference.mixio.pro/models/run` - **Model ID**: `mixio/ffmpeg-api/images-to-video` - **Category**: image-to-video ## Credits - **Currency**: credits - **Rounding**: Per-unit credit rates use the catalog precision; the final request charge rounds up to a whole credit. - **Estimate API**: `/models/pricing/estimate` - **Rate card**: `video-standard` - **Base credits**: 53 - **Minimum credits**: 53 ## API Information ### Input Schema - **`fps`** (`number`, _optional_): Frames per second of the output video. - Default: `24` - **`images`** (`array`, _required_): Ordered list of images to play as video frames. Each image is held for its specified number of frames before cutting to the next image. **Example**: ```json {} ``` ### Output Schema - **`video`** (`unknown`): Output MP4 video. ## Usage Examples ### cURL ```bash curl "https://inference.mixio.pro/models/run" \ -H "content-type: application/json" \ -H "x-api-key: $MIXIO_API_KEY" \ -d '{"endpointId": "mixio/ffmpeg-api/images-to-video", "input": {"prompt": "..."}}' ``` ### TypeScript ```typescript import { client, postModelsRun } from "@mixio-pro/sdk-ts"; client.setConfig({ baseUrl: "https://inference.mixio.pro", headers: { "x-api-key": process.env.MIXIO_API_KEY } }); const { data } = await postModelsRun({ body: { endpointId: "mixio/ffmpeg-api/images-to-video", input: { prompt: "..." } } }); ``` ### Python ```python from mixio_pro import Sdk sdk = Sdk(base_url="https://inference.mixio.pro", headers={"x-api-key": "your-key"}) result = sdk.client.post("/models/run", json={"endpointId": "mixio/ffmpeg-api/images-to-video", "input": {"prompt": "..."}}) print(result.json()["requestId"]) ``` ## Additional Resources - [Console](https://console.mixio.pro/models/mixio/ffmpeg-api/images-to-video) - [API Docs](https://inference.mixio.pro/docs) - [OpenAPI Schema](https://inference.mixio.pro/models/openapi.json?endpoint_id=mixio/ffmpeg-api/images-to-video)