๐Ÿงผ Transparent Background & Cutout Examples with AIGen SDK

Creating clean cutouts with transparent backgrounds is easy using the AIGen SDK. This is perfect for product shots, stickers, profile images, or eCommerce catalogs.


๐Ÿ“Œ How it Works

You simply provide a source image and a prompt like:

"Remove the background and make it transparent. Keep the main subject sharp and clear."

This works best with:

  • People or products on cluttered backgrounds
  • High-resolution source images
  • gpt-image-1@openai model

๐Ÿ› ๏ธ Node.js SDK Example

const url = await aigen.generateImage(
  'Remove the background and make it transparent. Keep the main subject sharp and clear.',
  {
    original: 'https://images.pexels.com/photos/1036623/pexels-photo-1036623.jpeg',
    model: 'gpt-image-1@openai'
  }
)

console.log('Transparent Image URL:', url)

๐Ÿงช CLI Equivalent

npx aigen-sdk generate 'Remove the background and make it transparent. Keep the main subject sharp and clear.' \
  --original=https://images.pexels.com/photos/1036623/pexels-photo-1036623.jpeg \
  --model=gpt-image-1@openai

๐Ÿงบ Product Cutout

await aigen.generateImage(
  'Remove the background from this product and make it a transparent PNG. Keep all edges clean and shadows natural.',
  {
    original: 'https://images.pexels.com/photos/715688/pexels-photo-715688.jpeg',
    model: 'gpt-image-1@openai'
  }
)

๐Ÿ‘ค Profile Picture Cutout

await aigen.generateImage(
  'Remove the background and isolate the person. Add soft lighting around the edges for a professional profile picture.',
  {
    original: 'https://images.pexels.com/photos/220453/pexels-photo-220453.jpeg',
    model: 'gpt-image-1@openai'
  }
)

๐Ÿงข Product + Social Profile Combo

await aigen.generateImage(
  'Show $$profile.name$$ wearing our branded cap with transparent background. Make it clean and ecommerce-ready.',
  {
    profile: 'facebook:username',
    model: 'gpt-image-1@openai'
  }
)

โœจ Creative Cutout for Stickers

await aigen.generateImage(
  'Remove the background and make this look like a cartoon sticker with bold outlines and transparent PNG.',
  {
    original: 'https://images.pexels.com/photos/1402787/pexels-photo-1402787.jpeg',
    model: 'gpt-image-1@openai'
  }
)

๐Ÿ”„ Transparent BG with Prompt Modification

You can combine background removal with modifications:

await aigen.generateImage(
  'Remove the background and replace it with a subtle gradient. Keep the subject transparent around the edges for flexible use.',
  {
    original: 'https://images.pexels.com/photos/3760852/pexels-photo-3760852.jpeg',
    model: 'gpt-image-1@openai'
  }
)

๐Ÿ“ฆ Use Cases

  • Sticker design & print
  • Profile avatar creation
  • Shopify or Etsy product images
  • Marketing visuals with flexibility
  • Drag-and-drop assets for design tools

โœ… Tips for Best Results

  • Use high-resolution original images
  • Use terms like "transparent", "cut out", "isolate", and "remove background"
  • Try soft glow or outline effects to avoid harsh edges

โค๏ธ Build stunning visual assets with clean cutouts โ€” using aigen.run