# 2s Countdown GIF Generator

> 2s Countdown GIF Generator is a paid API for AI agents from 2s.io, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-15).

Generates an animated countdown timer GIF to a specified end date/time with customizable appearance including colors, fonts, templates, and dimensions

## Facts

- Endpoint: GET https://2s.io/api/countdown/gif
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-countdown-gif-generator-bf5f7c6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i4kkdelr0vDXdJKmT75cg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-countdown-gif-generator-bf5f7c6f
```

Example prompt: Can you make an animated countdown GIF counting down to December 31 2025 at midnight, using the neon template, 800 pixels wide and 200 pixels tall, with a black background and showing days, hours, minutes, and seconds?

## When to prefer this

Use this endpoint when you need a visually customizable animated countdown GIF for a deadline, product launch, sale, or event — especially when you need template variety (default, minimal, neon, retro, corporate), fine-grained control over fonts, colors, labels, and dimensions, and a pay-per-call model with no signup required.

## Known failure modes

- Missing required endDate parameter returns an error
- Invalid date-time format for endDate causes a validation error
- Width or height outside allowed range (200-1600 and 80-800 respectively) returns a validation error
- FPS outside allowed range (1-10) causes rejection
- Invalid template name causes a validation error
- Color strings exceeding 40 characters are rejected
- Payment failure or insufficient USDC balance prevents the call from completing

## How this service works

The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.

## Output

Returns an animated GIF image of a countdown timer ticking toward the specified end date, rendered with the requested visual style (template, colors, fonts, size, labels, fps, etc.)

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "endDate"
     ],
     "properties": {
      "bg": {
       "type": "string",
       "maxLength": 40
      },
      "fg": {
       "type": "string",
       "maxLength": 40
      },
      "fps": {
       "type": "integer",
       "maximum": 10,
       "minimum": 1
      },
      "width": {
       "type": "integer",
       "maximum": 1600,
       "minimum": 200
      },
      "height": {
       "type": "integer",
       "maximum": 800,
       "minimum": 80
      },
      "endDate": {
       "type": "string"
      },
      "padding": {
       "type": "integer",
       "maximum": 200,
       "minimum": 0
      },
      "seconds": {
       "type": "integer",
       "maximum": 60,
       "minimum": 1
      },
      "showDays": {
       "anyOf": [
        {
         "type": "boolean"
        },
        {
         "enum": [
          "true",
          "false",
          "0",
          "1"
         ],
         "type": "string"
        }
       ]
      },
      "template": {
       "enum": [
        "default",
        "minimal",
        "neon",
        "retro",
        "corporate"
       ],
       "type": "string"
      },
      "digitFont": {
       "enum": [
        "mono",
        "sans"
       ],
       "type": "string"
      },
      "labelDays": {
       "type": "string",
       "maxLength": 12,
       "minLength": 1
      },
      "labelFont": {
       "enum": [
        "mono",
        "sans"
       ],
       "type": "string"
      },
      "labelColor": {
       "type": "string",
       "maxLength": 40
      },
      "labelHours": {
       "type": "string",
       "maxLength": 12,
       "minLength": 1
      },
      "showLabels": {
       "anyOf": [
        {
         "type": "boolean"
        },
        {
         "enum": [
          "true",
          "false",
          "0",
          "1"
         ],
         "type": "string"
        }
       ]
      },
      "cellPadding": {
       "type": "integer",
       "maximum": 200,
       "minimum": 0
      },
      "digitWeight": {
       "enum": [
        "regular",
        "bold"
       ],
       "type": "string"
    
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-countdown-gif-generator-bf5f7c6f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
