Images
Replace background
Replaces the image background using the provided text prompt and returns a photorealistic composite.
post/v1/image/replace-background
Request
- Base URLhttps://api.jasper.ai
- URLhttps://api.jasper.ai/v1/image/replace-background
- Auth
- API key in header X-API-Key
- or OAuth 2Authorization code: https://api.jasper.ai/oauth2/authorizeToken URL: https://api.jasper.ai/oauth2/token scopes: user
Headers
accept'image/webp' | 'image/png' | 'image/jpeg'
The Accept request HTTP header indicates the preferred returned image content type, expressed as a MIME type
Request body multipart/form-data
Response
The image background was successfully replaced.
Changes
No recorded changes to this operation across all 2 revisions of this API.