CLOVA Studio overview
    • PDF

    CLOVA Studio overview

    • PDF

    Article summary

    Available in Classic and VPC

    CLOVA Studio is a NAVER Cloud Platform service that utilizes the HyperCLOVA language model, a hyperscale AI technology, to output phrases generated by AI technology based on user input. The CLOVA Studio service provides APIs for sentence generation, tuning, explorer, and skill trainer features in RESTful form.

    Common attributes

    The following describes commonly used request and response formats in CLOVA Studio APIs.

    Create test app

    If you want to use CLOVA Studio APIs, then you must create a test or service app first. These apps can be created in the NAVER Cloud Platform console. For more information, see CLOVA Studio User Guide.

    Request

    The following describes the common request format.

    API URL

    The request API URL is as follows.

    https://clovastudio.apigw.ntruss.com/
    
    Note

    To use the streaming response, which outputs the generated tokens one by one, you must enter the request API URL as https://clovastudio.stream.ntruss.com/. For more detailed instructions, please see the following.

    Response

    The following describes the common response format.

    Response body

    The following describes the response body.

    FieldTypeRequiredDescription
    statusObject-Response status
    status.codeString-Response status codes
    status.messageString-Response message
    resultAny-Response result
    Note

    For causes and solutions for each response status code, see Troubleshooting CLOVA Studio.

    Response example

    The following is a sample example.

    • Succeeded
      {
        "status": {
          "code": "20000",
          "message": "OK"
        },
        "result": {}
      }
      
    • Failure (client error)
      {
      "status": {
      "code": "40102",
      "message": "Invalid access token"
          }
      }
      
    • Failure (server error)
      {
      "status": {
      "code": "50000",
      "message": "Internal Server Error"
          }
      }
      

    CLOVA Studio API

    The APIs provided by CLOVA Studio are as follows.

    APIDescription
    Chat CompletionsGenerate interactive sentences utilizing the HyperCLOVA X model
    CompletionsGenerate sentences using the normal mode (LK model) of Playground
    Get trainingGet training status
    Get training listGet created training list
    Create trainingCreate training using user dataset
    Delete trainingDelete created training
    TokenizerCalculate the number of tokens in a sentence entered in a non-HCX model
    Token calculator (HCX)Calculate the number of tokens in a sentence entered in a HCX model
    Token calculator (Embedding v2)Calculate the number of tokens in a sentence entered in Embeddings v2
    Sliding Window APIProcess sentences that exceed the maximum number of tokens when using Chat completions
    Break paragraphIdentify paragraphs in a post by topic by identifying similarities between sentences
    SummarySummarize long sentences by applying different options
    EmbeddingPerform vectorization tasks to represent text as numbers
    Embedding v2Perform vectorization tasks to represent long text as numbers
    Generate skillset answerGenerate answers with skillset API calls

    NAVER Cloud Platform provides a variety of related resources to help users better understand CLOVA Studio APIs.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.