Interactive Playground

Test the Placewise image API with live HTML preview. Edit the code and see results instantly.

Quick Examples:

HTML Editor

index.html
69 lines • 1837 characters
Loading...

💡 Press Ctrl/Cmd + S to run code

⌨️ Enable Auto-run for live preview as you type

Live Preview

Click Run to update

Preview
Responsive

🎨 Use viewport selector to test responsive designs

💡 Tips

  • • API format: https://img.placewise.io/api/image?w={width}&h={height}&q={query}
  • • Production URL: https://img.placewise.io/{width}x{height}-{query}
  • • Use descriptive queries like startup-team-meeting or modern-office-space
  • • Dimensions: 1-4000 pixels (landscape, portrait, or square)
  • • Images are cached and served via CDN for fast loading
  • • Use loading="lazy" for better performance