絵文字の生成を依頼する。プロンプトを1つ書くだけで、botたんが文字か絵かを読み取って候補を描く。候補は1枚ずつ描かれ、終わると通知が届く。未完了の依頼は1人1件まで。要認証。
Input
Encoding
application/jsonprompt
string
Required
何を描くか。「それな」のような短い言葉は文字の絵文字になる。
maxGraphemes: 100 graphemesOutput
Encoding
application/jsonestimatedWaitSeconds
integer
Required
待ちの目安(秒)。前に並んでいる依頼の数から見積もる。
generation
unknown
Required
EmojiGenerationView。
Errors
AuthRequired
already_active
未完了の依頼がすでにある。 inappropriate
入力がモデレーションで弾かれた。 busy
待ちが一杯、または GPU の自動回復が止まっている。 not_configured
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "絵文字の生成を依頼する。プロンプトを1つ書くだけで、botたんが文字か絵かを読み取って候補を描く。候補は1枚ずつ描かれ、終わると通知が届く。未完了の依頼は1人1件まで。要認証。",
"errors": [
{
"name": "AuthRequired"
},
{
"description": "未完了の依頼がすでにある。",
"name": "already_active"
},
{
"description": "入力がモデレーションで弾かれた。",
"name": "inappropriate"
},
{
"description": "待ちが一杯、または GPU の自動回復が止まっている。",
"name": "busy"
},
{
"name": "not_configured"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"prompt": {
"description": "何を描くか。「それな」のような短い言葉は文字の絵文字になる。",
"maxGraphemes": 100,
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"estimatedWaitSeconds": {
"description": "待ちの目安(秒)。前に並んでいる依頼の数から見積もる。",
"type": "integer"
},
"generation": {
"description": "EmojiGenerationView。",
"type": "unknown"
}
},
"required": [
"generation",
"estimatedWaitSeconds"
],
"type": "object"
}
},
"type": "procedure"
}