
replicate-internal/slackmoji-gif-generator
Public
6
runs
Run replicate-internal/slackmoji-gif-generator with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
gif_file |
string
|
Input animated GIF file to convert to Slack emoji
|
|
emoji_name |
string
|
Lowercase, space-free name for the emoji (e.g., 'dancing_cat')
|
|
target_size |
integer
|
128
Min: 64 Max: 256 |
Target size in pixels (width and height)
|
smart_crop |
boolean
|
True
|
Use smart cropping to focus on content instead of adding whitespace
|
upscale |
boolean
|
False
|
Apply AI upscaling for enhanced quality and sharpness
|
{
"type": "object",
"title": "Input",
"required": [
"gif_file",
"emoji_name"
],
"properties": {
"upscale": {
"type": "boolean",
"title": "Upscale",
"default": false,
"x-order": 4,
"description": "Apply AI upscaling for enhanced quality and sharpness"
},
"gif_file": {
"type": "string",
"title": "Gif File",
"format": "uri",
"x-order": 0,
"description": "Input animated GIF file to convert to Slack emoji"
},
"emoji_name": {
"type": "string",
"title": "Emoji Name",
"x-order": 1,
"description": "Lowercase, space-free name for the emoji (e.g., 'dancing_cat')"
},
"smart_crop": {
"type": "boolean",
"title": "Smart Crop",
"default": true,
"x-order": 3,
"description": "Use smart cropping to focus on content instead of adding whitespace"
},
"target_size": {
"type": "integer",
"title": "Target Size",
"default": 128,
"maximum": 256,
"minimum": 64,
"x-order": 2,
"description": "Target size in pixels (width and height)"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "object",
"title": "Output",
"required": [
"optimized_gif",
"emoji_name",
"file_size_kb",
"dimensions",
"frame_count",
"meets_slack_requirements",
"upscaled",
"original_dimensions"
],
"properties": {
"upscaled": {
"type": "boolean",
"title": "Upscaled"
},
"dimensions": {
"type": "string",
"title": "Dimensions"
},
"emoji_name": {
"type": "string",
"title": "Emoji Name"
},
"frame_count": {
"type": "integer",
"title": "Frame Count"
},
"file_size_kb": {
"type": "number",
"title": "File Size Kb"
},
"optimized_gif": {
"type": "string",
"title": "Optimized Gif",
"format": "uri"
},
"original_dimensions": {
"type": "string",
"title": "Original Dimensions"
},
"meets_slack_requirements": {
"type": "boolean",
"title": "Meets Slack Requirements"
}
}
}