Skip to main content

Mutations: AI image tools

GraphQL mutations for AI-powered image generation, background removal, magic erase, caption generation, and shoppable image detection in the Amplience GraphQL Management API.

AI image tools
Link copied!

generateImagesFromText
Link copied!

This mutation uses Amplience Credits.

See also: Mutations that use Amplience Credits

generateImagesFromText(
input: GenerateImagesFromTextInput!
): [GenerateImagesFromTextResponse]

Returns: [GenerateImagesFromTextResponse]

Arguments:

ArgumentTypeDefaultDescription
inputGenerateImagesFromTextInput!

magicEraseImage
Link copied!

This mutation uses Amplience Credits.

See also: Mutations that use Amplience Credits

magicEraseImage(
input: MagicEraseImageJobInput!
): MagicEraseImageJob!

Returns: MagicEraseImageJob!

Arguments:

ArgumentTypeDefaultDescription
inputMagicEraseImageJobInput!

removeBackgroundFromImage
Link copied!

This mutation uses Amplience Credits.

See also: Background removal API, Temporary file service, Mutations that use Amplience Credits, Examples: getting the organization ID

removeBackgroundFromImage(
input: RemoveBackgroundFromImageInput!
): RemoveBackgroundFromImageResponse!

Returns: RemoveBackgroundFromImageResponse!

Arguments:

ArgumentTypeDefaultDescription
inputRemoveBackgroundFromImageInput!

generateCaptionForImage
Link copied!

This mutation uses Amplience Credits.

See also: Mutations that use Amplience Credits

generateCaptionForImage(
input: GenerateCaptionForImageInput!
): GeneratedCaptionForImage

Returns: GeneratedCaptionForImage

Arguments:

ArgumentTypeDefaultDescription
inputGenerateCaptionForImageInput!

detectPointsOfInterestInImage
Link copied!

This mutation uses Amplience Credits.

See also: Mutations that use Amplience Credits

detectPointsOfInterestInImage(
input: PointsOfInterestInImageInput!
): DetectedPointsOfInterestInImage

Returns: DetectedPointsOfInterestInImage

Arguments:

ArgumentTypeDefaultDescription
inputPointsOfInterestInImageInput!

findPointsOfInterestInImage
Link copied!

This mutation uses Amplience Credits.

See also: Mutations that use Amplience Credits

findPointsOfInterestInImage(
input: FindPointsOfInterestInImageInput!
): DetectedPointsOfInterestInImage

Returns: DetectedPointsOfInterestInImage

Arguments:

ArgumentTypeDefaultDescription
inputFindPointsOfInterestInImageInput!