Skip to content
evening.

API & MCP

Build with Remix.

Make remixes from your own scripts with the REST API, or from an AI assistant over MCP. Both use your credits and save to the same library as the website.

What a key can do

Read-only

See models and templates, check your credits, and view or download your remixes. Never spends credits.

Read & generate

Everything read-only can do, plus upload photos and videos and create remixes. Each remix spends credits at the model's per-second rate; failed remixes are refunded.

Never

Create or revoke keys, buy credits, change billing or sign in to the website. Do those here while signed in.

API keys

One key works for both the REST API and MCP. Keys can't manage other keys, buy credits or change billing, or sign in to the website.

Checking your sign-in…

Quickstart

  1. Put your key in your terminal

    Create a key above, then set it as an environment variable in your own terminal. Send it as Authorization: Bearer or x-api-key.

    Set your key
    export REMIX_API_KEY="paste-your-key-here"

  2. Look around — no credits spent

    Models and templates are public. Credits needs your key.

    Read requests
    curl https://remix.tryevening.com/api/v1/models
    curl https://remix.tryevening.com/api/v1/templates
    curl -H "Authorization: Bearer $REMIX_API_KEY" https://remix.tryevening.com/api/v1/credits

  3. Upload your video and photo

    Ask for an upload for each file, then PUT the raw bytes to its uploadUrl within 10 minutes with the same Content-Type. Don't send your key to the upload URL. Uploading is free.

    Create an upload
    curl -X POST https://remix.tryevening.com/api/v1/uploads -H "Authorization: Bearer $REMIX_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"contentType":"video/mp4","size":8388608}'
    
    # → {"upload":{"id":"…","uploadUrl":"…","method":"PUT","expiresIn":600}}
    curl -X PUT "UPLOAD_URL" -H "Content-Type: video/mp4" \
      --data-binary @clip.mp4

  4. Create the remix — spends credits

    Save the body to remix.json. Use a new UUID as the Idempotency-Key for every new remix, and reuse the same one only to retry that request, so you're never charged twice.

    remix.json
    {
      "model": "wan-3.0",
      "source": {
        "type": "upload",
        "id": "VIDEO_UPLOAD_ID"
      },
      "imageIds": [
        "PHOTO_UPLOAD_ID"
      ],
      "consent": true,
      "shotConsent": true
    }

    Start the remix
    curl -X POST https://remix.tryevening.com/api/v1/remixes -H "Authorization: Bearer $REMIX_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: 6f1c2a9e-4b7d-4e3a-9c51-2d8f0b6a7e14" \
      --data @remix.json

    • Add one photo per person in the scene — the cast size comes from your photos.
    • WAN 3.0 needs a 5, 10 or 15 second source and exports at 1080P.
    • Recast needs a resolution of 768P or 1080P.
    • consent and shotConsent confirm you have permission to use the people and footage.
  5. Check progress, then get the video

    The response includes remix.statusUrl and remix.resultUrl. Call statusUrl every pollAfterSeconds while nextAction is poll; message and progress show where it is. Then call resultUrl and download video.url without your key.

    Status and result
    curl -H "Authorization: Bearer $REMIX_API_KEY" "STATUS_URL"
    curl -H "Authorization: Bearer $REMIX_API_KEY" "RESULT_URL"
    
    # → {"id":"…","model":"wan-3.0","video":{"url":"…","contentType":"video/mp4","expiresAt":"…"}}
    curl -o remix.mp4 "VIDEO_URL"

    • pollAfterSeconds is 30 for WAN and Seedance and 10 for Recast.
    • Video links last about an hour. Call resultUrl again for a fresh one.
    • A status_unavailable warning means the provider couldn't be checked this time, so you're seeing the last saved status. Keep checking the same remix; don't create it again.

Full reference: OpenAPI description (https://remix.tryevening.com/api/v1/openapi.json)