Generate Background API

Create hundreds of new images from your existing images in seconds with Generative AI
They already use PhotoRoom

Upgrade your catalog branding

Create professional grade images, saving staff time and photographer costs. Our AI-powered image editing platform upgrades your visual assets by dynamically changing image backgrounds in seconds.

Seamlessly create pristine mockups

Develop multiple realistic images from a single photo. Try out different mockups for your next product launch or various seasonal promotions. Test multiple image ideas that can be shared with marketing and creative teams – all in seconds.

Boost conversion rates

Save on photography costs and accelerate your time to market for product and marketing campaign launches. Optimal backgrounds can increase conversion rates by as much as 30%.

Integrate our API, hassle-free

The Generate Background API is easy to implement on websites and native apps using your language of choice.
curl -X GET "" \ -H "accept: image/jpg" \ -H "x-api-key: " curl -X POST "" \ -H "accept: image/jpg" \ -H "Content-Type: application/json" \ -H "x-api-key: " \ -d "{\"imageUrl\":\"\",\"prompt\":\"\",\"negativePrompt\":\"\"}"

The Cool Republic uses the PhotoRoom API to transform its raw factory images

Ready to get started?

Explore the PhotoRoom API documentation, or create an account instantly and enable your API key to send an API request.

You can read our tutorial for more details on how to integrate the API.

Integrate the API


Get a monthly credit package

1 credit = 1 processed full image
Please note: This pricing is for our beta period only. Prices are subject to change after the beta period ends.
Build for free
Free plan
10 images/month
  • No credit card required (Requires signing in with Google)
  • Ideal for prototyping
Most popular
Monthly subscription
From $0.045
Credits per monthPrice per image
  • 60 ($9)$0.15
  • 100 ($15)$0.15
  • 200 ($30)$0.15
  • 500 ($70)$0.14
  • 1,000 ($130)$0.13
  • 2,000 ($260)$0.13
  • Downgrade, upgrade or cancel any time
  • Unused credits roll over as long as you're subscribed (up to 6x your monthly budget)
Partners plan
From 100k images/month
  • For consumer-facing apps
  • Requires attribution