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

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"
    }
  }
}