Skip to main content

Stable Diffusion XL - Text Remover

Remove text from images using Stable Diffusion XL AI model.

Endpoint

Request Body

The request must include the following parameters:

ParameterTypeRequiredDescription
typestringYesFeature type identifier. Must be TEXT_REMOVER
modelstringYesAI model identifier. Must be clipdrop
promptObjectobjectYesFeature-specific parameters

Prompt Object Parameters

ParameterTypeRequiredDescription
imageUrlstringYesPath to the image

Example Request

fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'TEXT_REMOVER',
model: 'clipdrop',
promptObject: {
imageUrl: 'development/images/2025_02_16_14_38_13_247_text-image.jpg'
}
})
})

Responses

Success Response (200)

Successful response contains the generated image with text removed.

{}