> ## Documentation Index
> Fetch the complete documentation index at: https://apidoc.deerapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Runway Feed

> Use DeerAPI to call the Runway Feed endpoint with request details, response details, examples, and an OpenAPI playground.

## Overview

Use this endpoint to call the Runway Feed workflow through DeerAPI. The API reference on this page shows the request schema, response schema, authentication requirements, and runnable examples for the configured endpoint.

## Before you start

Use the DeerAPI base URL and pass your API Key in the `Authorization` header:

```text theme={null}
https://api.deerapi.com
```

```text theme={null}
Authorization: Bearer $DEERAPI_KEY
```

## Model selection

Choose a current model ID from the [live pricing page](https://api.deerapi.com/pricing). Model availability changes over time, so avoid copying a model ID from an old project without checking the live list first.

## Implementation notes

* Use the OpenAPI playground for the exact request fields accepted by this endpoint.
* Keep API Keys on the server side when you build production applications.
* Log the request ID from failed calls so support can investigate the request.
* Retry `429`, `500`, and `503` responses with exponential backoff.


## OpenAPI

````yaml /api/openapi/video/runway/compat/post-feed.openapi.json POST /runway/feed
openapi: 3.1.0
info:
  title: Feed Task Query API
  version: 1.0.0
servers:
  - url: https://api.deerapi.com
security:
  - bearerAuth: []
paths:
  /runway/feed:
    post:
      summary: Feed Task Query API
      operationId: post_runway_feed
      parameters:
        - name: X-Runway-Version
          in: header
          required: false
          description: ''
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - task_id
              properties:
                task_id:
                  type: string
                  description: Use this field according to the endpoint schema.
                  default: example
              default:
                task_id: your-task-id
            examples:
              Default:
                summary: Default
                value:
                  task_id: 221c136d-7888-43c3-acd3-1fcc90d51cfd
            example:
              task_id: 221c136d-7888-43c3-acd3-1fcc90d51cfd
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - msg
                  - data
                  - exec_time
                properties:
                  code:
                    type: integer
                    description: Use this field according to the endpoint schema.
                  msg:
                    type: string
                    description: Use this field according to the endpoint schema.
                  data:
                    type: object
                    required:
                      - task_id
                    properties:
                      task_id:
                        type: string
                        description: Use this field according to the endpoint schema.
                      state:
                        type:
                          - string
                          - 'null'
                        description: Use this field according to the endpoint schema.
                      status:
                        type:
                          - string
                          - 'null'
                        description: Use this field according to the endpoint schema.
                      prompt:
                        type:
                          - string
                          - 'null'
                        description: Use this field according to the endpoint schema.
                      prompt_en:
                        type:
                          - string
                          - 'null'
                        description: Use this field according to the endpoint schema.
                      video_url:
                        type:
                          - string
                          - 'null'
                        description: Use this field according to the endpoint schema.
                      raw_video_url:
                        type:
                          - string
                          - 'null'
                        description: Use this field according to the endpoint schema.
                      poster:
                        type:
                          - string
                          - 'null'
                        description: Use this field according to the endpoint schema.
                      last_frame:
                        type:
                          - string
                          - 'null'
                        description: Use this field according to the endpoint schema.
                      msg:
                        type:
                          - string
                          - 'null'
                        description: Use this field according to the endpoint schema.
                      point:
                        type:
                          - string
                          - 'null'
                      refund:
                        type:
                          - string
                          - 'null'
                      create_time:
                        type:
                          - string
                          - 'null'
                        description: Use this field according to the endpoint schema.
                      update_time:
                        type:
                          - string
                          - 'null'
                        description: Use this field according to the endpoint schema.
                    additionalProperties: true
                  exec_time:
                    type: number
                    description: Use this field according to the endpoint schema.
                  ip:
                    type: string
                example:
                  code: 200
                  msg: Request accepted.
                  data:
                    task_id: 221c136d-7888-43c3-acd3-1fcc90d51cfd
                    state: ''
                    status: '0'
                    prompt: ''
                    prompt_en: null
                    video_url: null
                    raw_video_url: null
                    poster: null
                    last_frame: null
                    msg: null
                    create_time: '0'
                    update_time: '0'
                  exec_time: 0
      x-codeSamples:
        - lang: Shell
          label: cURL
          source: |
            curl https://api.deerapi.com/runway/feed \
              -H "Content-Type: application/json" \
              -H "Authorization: Bearer $DEERAPI_KEY" \
              -d '{
                "task_id": "221c136d-7888-43c3-acd3-1fcc90d51cfd"
              }'
        - lang: Python
          label: requests
          source: |
            import os
            import requests

            url = "https://api.deerapi.com/runway/feed"
            headers = {
                "Authorization": "Bearer " + os.environ["DEERAPI_KEY"],
                "Content-Type": "application/json",
            }
            payload = {
              "task_id": "221c136d-7888-43c3-acd3-1fcc90d51cfd"
            }

            response = requests.post(url, headers=headers, json=payload)
            print(response.json())
        - lang: JavaScript
          label: fetch
          source: >
            const response = await fetch("https://api.deerapi.com/runway/feed",
            {
              method: "POST",
              headers: {
                Authorization: `Bearer ${process.env.DEERAPI_KEY}`,
                "Content-Type": "application/json",
              },
              body: JSON.stringify({
                "task_id": "221c136d-7888-43c3-acd3-1fcc90d51cfd"
              }),
            });


            console.log(await response.json());
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Use a DeerAPI API Key as a Bearer token.

````