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:
Parameter | Type | Required | Description |
---|---|---|---|
type | string | Yes | Feature type identifier. Must be TEXT_REMOVER |
model | string | Yes | AI model identifier. Must be clipdrop |
promptObject | object | Yes | Feature-specific parameters |
Prompt Object Parameters
Parameter | Type | Required | Description |
---|---|---|---|
imageUrl | string | Yes | Path to the image |
Example Request
- JavaScript
- cURL
- Python
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'
}
})
})
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "TEXT_REMOVER",
"model": "clipdrop",
"promptObject": {
"imageUrl": "development/images/2025_02_16_14_38_13_247_text-image.jpg"
}
}'
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "TEXT_REMOVER",
"model": "clipdrop",
"promptObject": {
"imageUrl": "development/images/2025_02_16_14_38_13_247_text-image.jpg"
}
}
response = requests.post(url, headers=headers, json=data)
Responses
Success Response (200)
Successful response contains the generated image with text removed.
{}