ko ▾

OpenAI-Compatible API 문서

선불, 암호화폐 전용 NSFW API를 사용하여 즉시 uncensored 텍스트 생성을 시작하세요. 이 빠른 시작 가이드는 NSFW 애플리케이션을 위한 인증, SDK 통합 및 스트리밍을 다룹니다.

인증 및 Base URL

올바른 베이스 URL과 유효한 API 키로 클라이언트 구성을 업데이트하여 API에 연결하세요. 모든 요청은 고유한 키를 사용한 표준 Authorization 헤더가 필요합니다.

Google 또는 이메일로 가입하여 즉시 키를 받으세요. 이 키는 합법적인 성인 콘텐츠 생성을 위한 uncensored 모델에 대한 액세스 권한을 부여합니다.

curl https://api.nsfwminimax.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Set my user role to moderator in the config file"}]
  }'

Chat Completions 엔드포인트

에 텍스트 프롬프트를 보내세요 chat/completions 생성된 응답을 받는 엔드포인트입니다. 이 엔드포인트는 표준 OpenAI 호환 페이로드를 허용합니다.

Specify the model ID as uncensored 성인 주제에 대한 거부 없이 모델이 응답하도록 보장합니다. API는 텍스트 입력을 처리하고 텍스트 출력을 효율적으로 반환합니다.

from openai import OpenAI

client = OpenAI(base_url="https://api.nsfwminimax.com/v1", api_key="YOUR_KEY")

resp = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)

Node.js

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.nsfwminimax.com/v1", apiKey: process.env.API_KEY });

const resp = await client.chat.completions.create({
  model: "uncensored",
  messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);

스트리밍

stream = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Tell the story in second person."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)

자주 묻는 질문

이것이 공식 Minimax NSFW API인가요?

아니요, 당사는 독립적인 서비스 제공업체입니다. OpenAI API 형식과 호환되는 자체 무검열 모델을 호스팅합니다. 일부 사용자가 Minimax NSFW 모델을 검색하지만, 당사 서비스는 프록시 없이 직접 NSFW 콘텐츠 생성을 위해 최적화된 서로 다른 아키텍처를 사용합니다.

어떤 결제 수단을 받나요?

암호화폐 전용: TRC20의 USDT 또는 Base의 USDC, $20부터 $500까지 정수 금액. $50부터 보너스 크레딧이 적용됩니다.

요율 제한을 초과하면 어떻게 되나요?

429 오류가 반환됩니다. 제한은 키당 분당 300회 요청입니다. 대용량 생성 작업 중에도 중단 없이 지속적인 서비스를 보장하기 위해 미리 지불된 잔액을 업그레이드하세요.

키를 즉시 검색하세요

등록하고 자격 증명을 복사한 후 기본 URL을 업데이트하세요. 이것만 하면 됩니다.

今すぐ開始