YepAPI
AI Models

Marketing Studio Image

Marketing Studio Image API by Higgsfield. Campaign and product ad images with presets, at 1K, 2K or 4K, with an optional product reference image.

Pricing, live playground and model overview: Marketing Studio Image API on YepAPI

POST/v1/media/queue
from $0.38/image

Overview

Marketing Studio Image by Higgsfield — campaign and product ad images, with ad presets and an optional product reference image. Async operation — submit a job, poll for completion.

PropertyValue
Model IDhiggsfield/marketing-studio-image
Aliasmarketing-studio
ProviderHiggsfield
CategoryImage Generation
Inputstext-to-image, image reference
Resolutions1k, 2k, 4k
Aspect Ratiosauto, 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9
BillingPer job — priced when queued, charged only on success
Pricingfrom $0.38/image

Usage

All media models use the async job queue. Submit a job, then poll for the result.

Step 1: Submit Job

Text-to-Image

options.params passes this model's own parameters (see Model parameters).

const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'higgsfield/marketing-studio-image',
    prompt: 'Hero ad for a matte black stainless steel water bottle on a mossy rock by a waterfall, bold headline space at the top',
    options: {
      aspectRatio: 'auto',
      resolution: '2k',
      params: {
        quality: 'high',
      },
    },
  }),
});
const { data } = await res.json();
// data.jobId — use this to poll for results
curl -X POST https://api.yepapi.com/v1/media/queue \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "higgsfield/marketing-studio-image", "prompt": "Hero ad for a matte black stainless steel water bottle on a mossy rock by a waterfall, bold headline space at the top", "options": {"aspectRatio": "auto", "resolution": "2k", "params": {"quality": "high"}}}'

With a Product Reference Image

Pass a reference image via imageData alongside your prompt. The product in the image is placed into the ad.

const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'higgsfield/marketing-studio-image',
    prompt: 'Place this product on a sunlit marble counter for a summer campaign',
    options: {
      resolution: '2k',
    },
    imageData: {
      mimeType: 'image/png',
      base64: '...', // Base64-encoded image
    },
  }),
});
curl -X POST https://api.yepapi.com/v1/media/queue \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "higgsfield/marketing-studio-image", "prompt": "Place this product on a sunlit marble counter for a summer campaign", "options": {"resolution": "2k"}, "imageData": {"mimeType": "image/png", "base64": "..."}}'

Step 2: Poll for Result

const status = await fetch(`https://api.yepapi.com/v1/media/status/${data.jobId}`, {
  headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status — "pending" | "processing" | "completed" | "failed"
// job.result.image — { mimeType, base64 } when completed
curl https://api.yepapi.com/v1/media/status/JOB_ID \
  -H "x-api-key: YOUR_API_KEY"

Request Body

ParameterTypeRequiredDescriptionDefault
modelstringYeshiggsfield/marketing-studio-image or alias marketing-studio—
promptstringYesText description of the image to generate—
options.aspectRatiostringNoOne of: auto, 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9auto
options.resolutionstringNo1k, 2k, 4k2k
options.paramsobjectNoModel-specific parameters under their own names: enhance_prompt, moderation, preset_id, quality. Unknown names return 400—
imageData.mimeTypestringNoMIME type of input image (image/png, image/jpeg, image/webp)—
imageData.base64stringNoBase64-encoded reference image—

Options are validated when you submit: an unsupported duration, resolution or value returns 400 naming the allowed values.

Model parameters

Pass these inside options.params.

ParameterTypeAllowedDescriptionDefault
enhance_promptboolean—Expand the prompt before generatingfalse
moderationstringauto, lowContent moderation levelauto
preset_idstring—Marketing preset (UUID)—
qualitystringlow, medium, highRender qualityhigh

Features

  • Campaign, product and social ad images
  • Ad presets via options.params.preset_id
  • 1K, 2K or 4K output
  • Optional product reference image via imageData

Pricing

ResolutionCost per image
1k$0.38
2k$0.75
4k$1.23

One image per job. Each job is priced when it's queued and charged only if it succeeds — failed or moderated jobs are free. Price shown is for the default quality (high); the exact price is quoted at submit.

Info

Image jobs typically complete in 5–60 seconds. Results retained for 1 hour.

Under the Hood

Powered by Higgsfield's Marketing Studio Image via our AI provider.

On this page