Authorization: Bearer ********************{
"model": "string",
"input": "string",
"instruction": "string",
"n": 1,
"temperature": 1,
"top_p": 1
}curl --location --request POST 'https://api.llmhub.com.cn/v1/edits' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "string",
"input": "string",
"instruction": "string",
"n": 1,
"temperature": 1,
"top_p": 1
}'{
"object": "edit",
"created": 0,
"choices": [
{
"text": "string",
"index": 0
}
],
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0,
"prompt_tokens_details": {
"cached_tokens": 0,
"text_tokens": 0,
"audio_tokens": 0,
"image_tokens": 0
},
"completion_tokens_details": {
"text_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 0
}
}
}