Claude Code 가이드
Flaq AI Claude 모델을 설정하고 Claude Code 스킬 살펴보기
Flaq AI의 안정적이고 합리적인 API로 OpenAI GPT 6 Sol API를 사용하세요. 이미지 이해, 시각적 질문 응답, 이미지 분석과 스트리밍 응답을 지원합니다. 시각적 대화에 활용하세요.
const response = await fetch('https://api.flaq.ai/api/v1/chat/completions', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
Accept: 'text/event-stream',
'Content-Type': 'application/json'
},
body: JSON.stringify({
model: 'gpt-6-sol-image-to-text',
messages: [
{
role: 'user',
content: [
{ type: 'text', text: 'Describe the image and extract any visible text.' },
{
type: 'image_url',
image_url: {
url: 'https://example.com/sample-image.jpg'
}
}
]
}
],
stream: true,
max_tokens: 2048
})
});
if (!response.ok) {
const errorBody = await response.json().catch(() => null);
throw new Error(errorBody?.error?.message ?? errorBody?.message ?? `HTTP ${response.status}`);
}
const reader = response.body.getReader();
const decoder = new TextDecoder();
let buffer = '';
let assistantText = '';
while (true) {
const { done, value } = await reader.read();
if (done) break;
buffer += decoder.decode(value, { stream: true });
const frames = buffer.split(/\r?\n\r?\n/);
buffer = frames.pop() || '';
for (const frame of frames) {
const lines = frame.split(/\r?\n/).filter(Boolean);
let eventName = 'message';
const dataLines = [];
for (const line of lines) {
if (line.startsWith('event:')) {
eventName = line.slice(6).trim();
} else if (line.startsWith('data:')) {
dataLines.push(line.replace(/^data:\s*/, ''));
}
}
const raw = dataLines.join('\n').trim();
if (raw === '[DONE]') {
console.log('\nFinal text:', assistantText);
continue;
}
let payload;
try {
payload = JSON.parse(raw);
} catch {
continue;
}
if (eventName === 'error' || payload.error) {
const msg = payload.error?.message ?? payload.message ?? 'Chat request failed';
throw new Error(msg);
}
const delta = payload.choices?.[0]?.delta;
if (delta?.content) {
assistantText += delta.content;
console.log(assistantText);
}
}
}
import json
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/chat/completions',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Accept': 'text/event-stream',
'Content-Type': 'application/json',
},
json={
'model': 'gpt-6-sol-image-to-text',
'messages': [
{
'role': 'user',
'content': [
{'type': 'text', 'text': 'Describe the image and extract any visible text.'},
{
'type': 'image_url',
'image_url': {
'url': 'https://example.com/sample-image.jpg'
}
},
],
}
],
'stream': True,
'max_tokens': 2048,
},
stream=True,
)
response.raise_for_status()
event_name = 'message'
assistant_text = ''
for raw_line in response.iter_lines(decode_unicode=True):
if not raw_line:
event_name = 'message'
continue
if raw_line.startswith('event:'):
event_name = raw_line.replace('event:', '', 1).strip()
continue
if raw_line.startswith('data:'):
raw_data = raw_line.replace('data:', '', 1).strip()
if raw_data == '[DONE]':
print('\nFinal text:', assistant_text)
continue
payload = json.loads(raw_data)
if event_name == 'error' or payload.get('error'):
error = payload.get('error') or payload
raise RuntimeError(error.get('message', 'Chat request failed'))
choices = payload.get('choices') or []
if choices:
delta = choices[0].get('delta') or {}
content = delta.get('content')
if content:
assistant_text += content
print(content, end='', flush=True)
curl -N -X POST "https://api.flaq.ai/api/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: text/event-stream" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-sol-image-to-text",
"messages": [
{
"role": "user",
"content": [
{ "type": "text", "text": "Describe the image and extract any visible text." },
{
"type": "image_url",
"image_url": {
"url": "https://example.com/sample-image.jpg"
}
}
]
}
],
"stream": true,
"max_tokens": 2048
}'
| 매개변수 | 가격 | 원래 가격 | 할인 |
|---|
GPT 6 Sol Image-to-Text API는 OpenAI GPT-6 Sol의 고급 추론 기능을 Flaq AI의 시각적 이해, 차트 해석, 시각적 질의응답에 적용합니다. 이 이미지 입력·텍스트 출력 API 통합을 통해 개발자와 전문팀은 지원되는 시각 자료에 자연어 지시를 결합하여 명확한 기술 설명, 구조화된 데이터 추출 결과, 심층 분석을 얻을 수 있습니다. GPT-6 Sol은 강력한 시각 추론을 제공하며, Flaq AI는 안정적이고 비용 효율적인 API 통합을 제공합니다.
참고 시각 입력과 프롬프트 메시지가 OpenAI의 안전 및 사용 정책과 Flaq AI 약관을 준수하는지 확인하세요. 오류가 발생하면 이미지에 지원되지 않는 속성이나 제한된 요소가 있는지 점검하고, 프롬프트를 다듬은 후 다시 시도하세요.
GPT 6 Sol Image-to-Text와 GPT 6 Astra Image-to-Text 비교
GPT 6 Astra는 가장 어려운 추론 작업을 위한 OpenAI의 플래그십 모델입니다. GPT 6 Sol Image-to-Text는 프로덕션 작업 흐름을 위해 모델 성능과 비용의 균형을 맞춘 이미지 분석 옵션을 제공합니다.
GPT 6 Sol Image-to-Text와 GPT 6 Luna Image-to-Text 비교
GPT 6 Luna Image-to-Text는 비용에 민감한 대량 시각 작업에 적합합니다. GPT 6 Sol Image-to-Text는 정교한 다이어그램과 다단계 시각적 질문을 다루는 팀을 위한 선택지입니다.
GPT 6 Sol Image-to-Text와 Claude Opus 5.5 비교
Claude Opus 5.5는 특히 문서 중심 및 PDF 비중이 높은 분석에서 강력한 멀티모달 기능을 제공합니다. GPT 6 Sol Image-to-Text는 표준 채팅 API 통합 안에서 빠른 이미지 중심 검사, 차트 해석, 대화형 시각적 질의응답을 수행하도록 간결하게 최적화되어 있습니다.
GPT 6 Sol Image-to-Text와 전용 OCR 엔진 비교
전용 OCR 도구는 텍스트 전사와 필드 추출에 자주 사용됩니다. GPT 6 Sol Image-to-Text는 차트, 레이아웃, 보이는 요소 간의 관계 등 주변의 시각적 문맥에 관한 질문도 지원합니다.
Flaq AI Claude 모델을 설정하고 Claude Code 스킬 살펴보기

Flaq AI GPT 모델을 설정하고 Codex 스킬 살펴보기
Hermes Agent에서 Flaq AI LLM 모델 사용
ZCode에서 GLM 5.2, Kimi K3 및 DeepSeek v4 사용
Flaq AI DeepSeek 모델로 DeepSeek Harness 실행
AI 에이전트를 Flaq 이미지 및 동영상 생성 도구에 연결
WorkBuddy에서 GPT 6 Astra와 Claude Fable 5.1 사용