Images
Expand an image to a new aspect ratio (outpainting)
Generates the missing area around an image so it fills a different aspect ratio.
Give the image either as a library file uuid (file_uuid) or INLINE as a base64 data URL (imageData), not both. targetAspectRatio must be one of the ratios GET /v1/models reports for this tool.
post/v1/images/expand
Request
- Base URL: https://contentmaschine.ai/api
- URL: https://contentmaschine.ai/api/v1/images/expand
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://contentmaschine.ai/api/oauth/authorize, token URL https://contentmaschine.ai/api/oauth/token)
Request body
Response
The expanded image.
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.