---
title: "Discussion on \"Calling the MAGI-2 API: One Model ID, Three Modes, and the 400 Errors You Will Meet First\" | Hashnode"
description: "Discussion on \"Calling the MAGI-2 API: One Model ID, Three Modes, and the 400 Errors You Will Meet First\". Text-to-video, first and last frame, and reference-to-video requests for Sand AI's audio-video model, with polling code and a pre-flight check."
url: "https://hashnode.com/posts/calling-the-magi-2-api-one-model-id-three-modes-and-the-400-errors-you-will-meet-first/6b0837f12c2c860b9be4f0a7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Calling the MAGI-2 API: One Model ID, Three Modes, and the 400 Errors You Will Meet First](https://apimodels.hashnode.dev/calling-the-magi-2-api-one-model-id-three-modes-and-the-400-errors-you-will-meet-first?utm_source=hashnode&utm_medium=feed)

Text-to-video, first and last frame, and reference-to-video requests for Sand AI's audio-video model, with polling code and a pre-flight check.

7h ago · 10 min read · apimodels.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#api](https://hashnode.com/tag/api)
-   [#video](https://hashnode.com/tag/video)
-   [#generative-ai](https://hashnode.com/tag/generative-ai)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Lucas Lewis](https://hashnode.com/@lewislucas)

@lewislucas · Vancouver, Canada

  
[View profile](https://hashnode.com/@lewislucas)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
