AITRE API Documents(English)
    AITRE API Documents(English)
    • AITRE Introduction
    • Project Description
    • Send Request
    • Openai's format(Chat)
      • Gpt-4o-image(Generate Image)
        POST
      • Chat Completions Interface
        POST
    • Audio Interface(Audio)
      • TTS(speech-to-text)
        POST
      • Transcriptions
        POST
      • Translations
        POST
    • Embeddings Interface(Embeddings)
      • Embeddings
      • Create Embeddings
        POST
    • Images Generations(Images)
      • Openai's format Gpt-image-1
        POST
      • Openai's format Flux
        POST
      • Openai's format DALL·E 3
        POST
    • Models Interface(Models)
      • Model
        GET
    • Auto Completions Interface(Completions)
      • Completions
        POST
    • MidJourney
      • Description
      • Fetch task by id
        GET
      • Action
        POST
      • Blend(image to image)
        POST
      • Describe (image to text)
        POST
      • Imagine (text to image/image to image)
        POST
      • Modal(Partial redrawing、ZOOM)
        POST
      • Shorten(prompt analysis)
        POST

    Project Description

    Online Debugging#

    1.
    Click the "Debug" button
    image.png
    2.
    Set the OpenAI api_key
    image.png
    The api_key of this environment variable is only stored locally and will not be synchronized to the server, nor will it be synchronized among team members.
    image.png
    3.
    Click the "Send" button to initiate the request
    image.png

    FAQ#

    1.
    Cloud Agent Error
    image.png
    You need to install the Apifox plugin: Apifox Browser Extension
    2.
    Invalid authorization header
    image.png
    You need to set the OpenAI api_key in the environment variable
    3.
    Unable to request the address api.openai.com
    image.png
    You need a proxy, which means you need to use a VPN (and enable global proxy)
    Previous
    AITRE Introduction
    Next
    Send Request
    Built with