콘텐츠로 건너뛰기

Vecglypher

통합

모델 id vecglypher
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/vecglypher?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

이 요청: $0.005 5 API 크레딧 이 페이지에서 실행

API 키 받기

텍스트와 서체 스타일 설명에서 SVG 경로 형태의 벡터 글리프를 생성합니다

Open model · 이미지

첫 번째 결과가 여기에 표시됩니다

아래에서 요청을 작성하고 API 키로 실행하세요. 출력은 스토리지에 복사되며, 영구 보관하거나 7일 동안 무료로 보관할 수 있습니다.

요청 만들기

컨트롤은 모델 스키마에서 생성됩니다. 값을 변경하면 코드와 가격이 업데이트됩니다.

•필수

벡터 글리프 생성용 텍스트이며, 문자마다 하나의 SVG path 요소가 생성됩니다.

고급 style_description · fill_color · stroke_color · temperature · top_p · top_k · repetition_penalty · max_tokens · output_size · stroke_width · seed · enable_safety_checker
기본값 italic style, 400 wei...

서체 외관에 대한 타이포그래피 설명입니다. 굵기는 100~900, 스타일은 italic 또는 oblique, 범주는 serif, sans-serif, display, handwriting 또는 monospace이며, 특성은 geometric, humanist, condensed 또는 rounded입니다.

기본값 black

SVG/CSS에서 지원하는 모든 색상 표기법으로 지정하는 글리프 채우기 색상입니다.

글리프 외곽선 설정입니다. 선택적 색상을 제공하면 생성된 모든 글리프 path 주위에 외곽선이 추가됩니다.

기본값 0.1

샘플링에 사용하는 temperature입니다. 낮추면 출력이 더 결정론적으로 변합니다.

기본값 0.95

Nucleus 샘플링 제어(top-p)입니다.

기본값 5

top-k 샘플링 설정입니다.

기본값 1

SVG path 세그먼트 반복을 억제하는 패널티입니다.

기본값 8192

생성되는 토큰 수의 상한입니다. 더 긴 텍스트를 처리하려면 높이세요.

기본값 512

SVG의 픽셀 크기 제한입니다. 가로세로 비율을 유지하면서 더 긴 쪽에 적용됩니다.

기본값 1

외곽선 두께입니다. 지정된 stroke_color가 있을 때만 적용되며 SVG 단위로 측정됩니다.

재현 가능한 결과를 위해 무작위성을 제어하는 시드입니다.

POST /run/vecglypher?wait=20 견적 → $0.005
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/vecglypher?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

이 요청 실행

키는 이 브라우저에 유지됩니다. Doitong API로만 전송되며, 기억하기를 선택한 경우에만 localStorage에 저장됩니다. API 키 받기

Vecglypher 정보

`prompt`의 문자를 개별 SVG 경로 요소로 렌더링하며, 굵기, 기울임, 세리프, 산세리프 등의 용어를 사용하는 `style_description`으로 스타일을 지정합니다. `output_size`는 SVG의 최대 크기를 64~4096 px 범위로 설정합니다. `fill_color`, `stroke_color`, `stroke_width`로 모양을 조절합니다. `temperature`, `top_k` 등의 샘플링 설정을 제공하며, 텍스트가 길면 `max_tokens`를 늘릴 수 있습니다.

매개변수

이름유형 기본값허용됨 설명
prompt필수
유형string
벡터 글리프 생성용 텍스트이며, 문자마다 하나의 SVG path 요소가 생성됩니다.
style_description선택 사항
유형string
기본값italic style, 400 weight, serif, text, elegant
서체 외관에 대한 타이포그래피 설명입니다. 굵기는 100~900, 스타일은 italic 또는 oblique, 범주는 serif, sans-serif, display, handwriting 또는 monospace이며, 특성은 geometric, humanist, condensed 또는 rounded입니다.
temperature선택 사항
유형number
기본값0.1
0 – 2
샘플링에 사용하는 temperature입니다. 낮추면 출력이 더 결정론적으로 변합니다.
seed선택 사항
유형integer | null
재현 가능한 결과를 위해 무작위성을 제어하는 시드입니다.
enable_safety_checker선택 사항
유형boolean
기본값true
입력에 대한 안전성 검사를 활성화합니다.
top_p선택 사항
유형number
기본값0.95
0 – 1
Nucleus 샘플링 제어(top-p)입니다.
top_k선택 사항
유형integer
기본값5
-1 – 100
top-k 샘플링 설정입니다.
repetition_penalty선택 사항
유형number
기본값1
0 – 2
SVG path 세그먼트 반복을 억제하는 패널티입니다.
max_tokens선택 사항
유형integer
기본값8192
256 – 16,384
생성되는 토큰 수의 상한입니다. 더 긴 텍스트를 처리하려면 높이세요.
output_size선택 사항
유형integer
기본값512
64 – 4,096
SVG의 픽셀 크기 제한입니다. 가로세로 비율을 유지하면서 더 긴 쪽에 적용됩니다.
fill_color선택 사항
유형string
기본값black
SVG/CSS에서 지원하는 모든 색상 표기법으로 지정하는 글리프 채우기 색상입니다.
stroke_color선택 사항
유형string | null
글리프 외곽선 설정입니다. 선택적 색상을 제공하면 생성된 모든 글리프 path 주위에 외곽선이 추가됩니다.
stroke_width선택 사항
유형number
기본값1
0.1 – 50
외곽선 두께입니다. 지정된 stroke_color가 있을 때만 적용되며 SVG 단위로 측정됩니다.
필수

출력

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "vecglypher",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 5,
    "usd": "0.005",
    "charged": 5,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "svg_content": "string",
    "seed": 42,
    "timings": {}
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
파일 보관 방식 선택모든 outputs[].url은 스토리지에 저장된 복사본입니다. 계정 설정 또는 ?storage=에 따라 영구 보관(GB-월 단위 과금)하거나 7일 동안 무료로 보관합니다.
모든 모델에서 동일한 구조이미지, 동영상, 오디오 모두 type, url, content_type, width, height 및 duration을 사용합니다. output은 모델 자체의 결과 객체입니다.
출력 필드
image
any생성된 벡터 글리프를 포함하는 SVG 파일입니다.
svg_content
string원시 SVG 마크업을 포함하는 문자열입니다.
seed
integer생성 중 적용되는 시드 값입니다.
timings
object처리 단계별 생성 시간입니다.

더 많은 모델: 텍스트를 이미지로

AI 에이전트용: 이 페이지의 Markdown 버전: https://doitong.com/ko/developers/models/vecglypher.md. 모든 모델 및 가이드: https://doitong.com/developers/llms.txt