# Sna4an SosMed AI Image Generator

> Sna4an SosMed AI Image Generator is a paid API for AI agents from sna4an-sosmed-v1.vercel.app, paid per call via x402, $0.19/call, status unknown (last checked 2026-10-12).

Generates AI images from a text prompt query via a micropayment-protected API endpoint

## Facts

- Endpoint: POST https://sna4an-sosmed-v1.vercel.app/api/ai-image-gen?utm_source=zero.xyz
- Price: $0.19/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sna4an-sosmed-ai-image-generator-662df453
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fdcs7Vu77a29jRCMWj7Ka

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 sna4an-sosmed-ai-image-generator-662df453 -d '<json body>'
```

Example prompt: Generate an AI image of a futuristic city skyline at sunset with neon lights and flying cars.

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.19 USDC) AI image generation capability paid via x402 micropayments on Base chain, especially within a workflow already using the Sna4an SosMed API Hub for social media or content tasks. Suitable for agents needing on-demand image generation without managing a separate image API subscription.

## Known failure modes

- Missing or empty query parameter returns an error
- Payment not authorized or insufficient USDC balance triggers 402 response
- Vague or malformed prompt may return low-quality or unexpected image output
- Server or generation service timeout may result in no image returned
- Prompt violates content policy and is rejected

## How this service works

126 paid social media API endpoints - TikTok, Instagram, Twitter/X, YouTube, Finance, AI Tools &amp; more. Protected by x402 micropayments on Base chain.

## Output

Returns a JSON object containing the AI-generated image data or a URL to the generated image based on the provided text prompt query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sna4an-sosmed-ai-image-generator-662df453/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sna4an-sosmed-v1.vercel.app](https://www.zero.xyz/host/sna4an-sosmed-v1.vercel.app/llms.txt)
