Alt Developer (1.0.0)

Download OpenAPI specification:Download

LHTM OPT

lhtm opt completion

Generate sentences according to the prompts.

query Parameters
key
required
string

API Key

Request Body schema: application/json
model
string
Default: "modelv2"
Value: "modelv2"
prompt
required
string

prompt

max_tokens
number
Default: 128
temperature
number
Default: 0.1

Responses

Request samples

Content type
application/json
{
  • "model": "modelv2",
  • "prompt": "string",
  • "max_tokens": 128,
  • "temperature": 0.1
}

Response samples

Content type
application/json
{
  • "result": "string"
}

lhtm opt chat completion

Generate sentences according to the content of the chat.

query Parameters
key
required
string

API Key

Request Body schema: application/json
model
string
Default: "modelv2"
Value: "modelv2"
required
Array of objects
max_tokens
number
Default: 128
temperature
number
Default: 0.1

Responses

Request samples

Content type
application/json
{
  • "model": "modelv2",
  • "messages": [
    ],
  • "max_tokens": 128,
  • "temperature": 0.1
}

Response samples

Content type
application/json
{
  • "result": "string"
}

Hallucination

Hallucination score evaluator

Measures the accuracy of LLM generated results.

Request Body schema: application/json
question
string

Question text to LLM

response
string

Generated result text from LLM

Responses

Request samples

Content type
application/json
{
  • "question": "string",
  • "response": "string"
}

Response samples

Content type
application/json
{
  • "result": {
    }
}

LHTM-2

lhtm-2

Generate sentences according to the prompts.

query Parameters
key
required
string

API Key

prompt
required
string

prompt

Responses

Response samples

Content type
application/json
{
  • "result": "string"
}

lhtm-2 start execution

Start generating sentences according to the prompts.

query Parameters
key
required
string

API Key

Request Body schema: application/json
prompt
required
string

prompt

Responses

Request samples

Content type
application/json
{
  • "prompt": "string"
}

Response samples

Content type
application/json
{
  • "executionArn": "executionId",
  • "startDate": 1685072261.784
}

lhtm-2 execution status

Get the result of generating sentences

Request Body schema: application/json
executionArn
string

executionArn obtained from /lhtm-2/execution

Responses

Request samples

Content type
application/json
{
  • "executionArn": "string"
}

Response samples

Content type
application/json
{
  • "result": "string",
  • "startDate": 1685072261.784,
  • "status": "RUNNING"
}

summarization

summarization

The summary engine used by AI GIJIROKU.

query Parameters
key
required
string

API Key

sentence
required
string

summary source text

Responses

Response samples

Content type
application/json
{
  • "result": "string"
}

translation

translation

The translation engine used by AI GIJIROKU. It is also possible to localize services and build automatic interpretation applications in combination with speech recognition.

query Parameters
key
required
string

API Key

source
required
string

source language

target
required
string

target language

text
required
string

source text

Responses

Response samples

Content type
application/json
{
  • "result": "string"
}

stt

Speech To Text

Converts speech to text.

query Parameters
key
required
string

API Key

Request Body schema: multipart/form-data
file
required
string <binary>

WAVE, MP3

lang
string
Default: "ja-JP"

BCP-47

Responses

Response samples

Content type
application/json
{
  • "result": "string"
}

Text to Speech

tts

Converts text to speech.

query Parameters
key
required
string

API Key

Request Body schema: application/json
text
required
string

Text tailored to the language specified by lang

lang
string
Default: "ja-JP"

BCP-47

Responses

Request samples

Content type
application/json
{
  • "text": "string",
  • "lang": "ja-JP"
}

Response samples

Voice identification

voiceprint

Determines if the speakers of the two voices match.

query Parameters
key
required
string

API Key

Request Body schema: multipart/form-data
file1
required
string <binary>

WAVE, MP3

file2
required
string <binary>

WAVE, MP3

Responses

Response samples

Content type
application/json
{
  • "result": "high"
}

Filler removal

remove-filler

Searches for and removes filler in the text.

query Parameters
key
required
string

API Key

text
required
string

Filler untreated text

Responses

Response samples

Content type
application/json
{
  • "result": {
    }
}

Stream STT

Websocket endpoints can be found here.→ stt stream api