Reve API - Docs - v2/migration

v1 to v2 Migration

Use the v2 create endpoint for everyday migrations from v1: it covers the v1 create, edit, and remix workflows through ordered reference images, while adding layout awareness.

API shape changes

Create: v1 to v2

Create: v1 to v2

Edit: v1 to v2 create

Remix: v1 to v2 create

JSON

{
  "v1": {
    "endpoint": "POST /v1/image/create",
    "body": {
      "prompt": "A serene mountain landscape at sunset",
      "aspect_ratio": "16:9",
      "version": "latest"
    }
  },
  "v2": {
    "endpoint": "POST /v2/image/create",
    "body": {
      "prompt": "A serene mountain landscape at sunset",
      "aspect_ratio": "16:9"
    }
  }
}