image

Send a request

Application Conversation

POST https://portal.echobot.ai/api/images/create

Generate a image

Headers

Name
Type
Description

Bearer *

String

You can generate an API key from the EchoBot portal in the API section of the app.

It is in this format: f"{echobot_token}-{echobot_appId}"

Request Body

Name
Type
Description

prompt*

string

The description of the desired image.

number*

integer

Number of images to generate.

"rawSearch": [
        {
            "id": "19339",
            "q": "Who is the director of the movie Journey to Bell Bud?" .
            "a": "The director of the movie Journey to Suzumiya is Makoto Shinkai." .
            "source": ""
        },
        {
            "id": "8099",
            "q": "Who is the main character of this work?" .
            "a": "The main character of this work is a young girl named Suzumiya." .
            "source": "Manual modification"
        }
    ],
    "newChatId": "648f0fc12e0d47315f3bc30e",
    "id": "",
    "model": "gpt-3.5-turbo-16k",
    "usage": {
        "prompt_tokens": 0,
        "completion_tokens": 0,
        "total_tokens": 373
    },
    "choices": [
        {
            "message": [
                {
                    "role": "assistant",
                    "content": "The director of the movie Reiya no Trip is Makoto Shinkai."
                }
            ],
            "finish_reason": "stop",
            "index": 0
        }
    ]
}

Good to know: The EchoBot bills directly from your credits. 1 credit / message "EchoBot Basic model", 25 credit / message "EchoBot Advanced model".

Last updated