Images
Apply the style of one image to another
Re-renders the content image in the visual style of the style image.
Give each image either as a library file uuid (file_uuid for the content image, style_file_uuid for the style reference) or INLINE as a base64 data URL (contentImage, styleImage). One of each pair is required; sending both of a pair is a 400. Returns when the image is ready; there is no job to poll.
post/v1/images/style-transfer
Request
- Base URL: https://contentmaschine.ai/api
- URL: https://contentmaschine.ai/api/v1/images/style-transfer
- 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 restyled image.
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.