Ad placement

Marameo

Replaces ad spaces in scene photos with new creatives — perspective-correct AI image synthesis.

Pricing

Image Generation

30,000Credits
  • + Additional Variant7,500Credits
  • + Custom Prompt7,500Credits
POST/v1/marameo/generate

Replaces an ad space in a scene photo with a new creative. Response: signed download URLs (valid 3h). Supports up to 3 variants per request.

Parameter

  • baseImagestring
    Yes

    Scene photo with ad space — JPEG, PNG, WebP, GIF (URL, Base64 or Data URI, max 10 MB)

  • insertImagestring
    Yes

    New ad creative — JPEG, PNG, WebP, GIF (URL, Base64 or Data URI, max 10 MB)

  • aspectRatiostringOptional

    Aspect ratio (default: "16:9"). Valid: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9

  • promptstringOptional

    Additional instructions for scene modification (surcharge: 7,500 credits)

  • variantsnumberOptional

    Number of variants (1–3, default: 1). Each additional variant: 7,500 credits

Request

curl -X POST "https://api.centra.dbpg.io/v1/marameo/generate" \
  -H "Authorization: Bearer sk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "baseImage": "https://example.com/scene.jpg",
    "insertImage": "https://example.com/ad.jpg",
    "aspectRatio": "16:9",
    "variants": 2
  }'

Response

{
  "images": [
    {
      "url": "https://<signierte-download-url>/marameo/....png?...",
      "variant": 1,
      "expiresAt": "2026-03-20T21:35:58.569Z"
    },
    {
      "url": "https://<signierte-download-url>/marameo/....png?...",
      "variant": 2,
      "expiresAt": "2026-03-20T21:36:16.123Z"
    }
  ],
  "count": 2,
  "attempted": 2,
  "model": "marameo-v1",
  "usage": {
    "credits_used": 37500,
    "remaining_balance": 28100
  }
}

Attribution

  • Powered in part by Google AI
  • Generated content contains digital watermarks (SynthID)