AI Ad Placement

Marameo

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

Pricing

30,000Credits
Image Generation
+7,500Additional Variant
+7,500Custom Prompt
POST/v1/marameo/generate

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

Parameter

NameTypeStatusDescription
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)
aspectRatiostringOptionalAspect 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
promptstringOptionalAdditional instructions for scene modification (surcharge: 7,500 credits)
variantsnumberOptionalNumber 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-live-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://...s3.amazonaws.com/marameo/....png?...",
      "variant": 1,
      "expiresAt": "2026-03-20T21:35:58.569Z"
    },
    {
      "url": "https://...s3.amazonaws.com/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)