Docs
How the delayer works
PeelAd is a productized editor on top of fal.ai bria/ad-delayer. The model is commercial-safe Bria lineage. We never call it from the browser.
Input
image_url— public URL of a flat ad (jpg/png/webp). We upload your file to fal storage server-side when a key is present.text_mode—svgtraces original letterforms;fontrebuilds live type.
Output
Structured JSON, not a Photoshop PSD from this endpoint:
{
canvas: { width, height },
layers: [{
id, type: "vector" | "image" | "text",
subtype, z_order,
bbox: { x, y, width, height },
// image: asset_path, image_fit
// text: text, text_style
// vector: style.background_color
}],
font_stylesheets: ["https://fonts.googleapis.com/css2?..."]
}Export
After you edit, Export PNG flattens the canvas. Export PSD writes a layered .psd from the current editor state (moved objects, retyped copy, z-order) so you can reopen it in Photopea or Photoshop. Each layer is rasterized with a sensible name; we do not call Bria image_to_psd for this, because that path would ignore PeelAd edits.
Cost
About $0.30 per successful request on fal ($0.35 on WaveSpeed). PeelAd bills 1 credit per peel. If FAL_KEY is missing, the API returns the Aurora sample document so the editor stays demoable.