---
title: "Generate token name and symbol from tweet content"
method: POST
path: "/extension/generate-token"
tags: ["extension"]
---

# Generate token name and symbol from tweet content

`POST /extension/generate-token`

Uses OpenAI to generate name and symbol. Image upload is handled by the extension on deploy.

## Request body

- InternalHandlersGenerateTokenRequest
  - `content` string
  - `images` string[]
  - `tweet_id` string

## Response `200`

OK

- InternalHandlersGenerateTokenResponse
  - `description` string
  - `name` string
  - `symbol` string
  - `token_image` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `503` — AI not configured

---

[API](https://skmtc.dev/grambo/apis/grambo-api.md) · [All operations](https://skmtc.dev/grambo/apis/grambo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/grambo/grambo-api/revisions/5d88d65e212e/schema)
