The AI Background API allows users to add AI-generated backgrounds to transparent images. By providing a descriptive prompt and style preferences, the API generates a contextually appropriate background, making it ideal for product photos, marketing materials, and creative projects.
Request
Header Params
Body Params multipart/form-data
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.vyro.ai/v2/image/generations/ai-background' \
--header'Authorization: Bearer vk-ad08a8e86d1a84404e5837be47d39ab44474f982671c0a' \
--form'prompt="A lush green forest with sunlight filtering through the trees"' \
--form'image=@""' \
--form'style="product-shoot"' \
--form'seed="12"'