콘텐츠로 건너뛰기

Moondream

통합

모델 id moondream/batched
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/moondream/batched?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "inputs": [
      {
        "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
      }
    ]
  }'

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

이 요청: ≈$0.004 4 API 크레딧 · ≈ ₽0.43 이 페이지에서 실행

API 키 받기
Moondream 비전 #multimodal#vision

프롬프트와 이미지 URL 쌍 목록을 받아 한 번의 호출로 여러 이미지에 대한 질문에 응답

Moondream · 데이터 (JSON)

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

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

요청 만들기

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

•필수

이미지의 입력 프롬프트와 URL을 포함하는 목록입니다.

고급 max_tokens · temperature · top_p · repetition_penalty
기본값 64

새로 생성되는 토큰의 상한입니다.

기본값 0.2

샘플링 온도 설정입니다.

기본값 1

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

기본값 1

샘플링 중 반복에 적용하는 패널티입니다.

POST /run/moondream/batched?wait=20 견적 → $0.004
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/moondream/batched?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "inputs": [
      {
        "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
      }
    ]
  }'

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

이 요청 실행

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

Moondream 정보

Moondream vision-language 모델의 배치 버전입니다. `inputs`에 프롬프트와 이미지 URL을 담은 객체 목록을 전달하면 생성된 출력 목록과 처리된 파일명 및 타이밍을 반환합니다. 생성은 `max_tokens`(32~1024, 기본값 64), `temperature`(0~1), `top_p`, `repetition_penalty`(1~2)로 조정합니다. 응답에는 결과가 일부인지 여부를 나타내는 플래그도 포함됩니다.

매개변수

이름유형 기본값허용됨 설명
inputs필수
유형object[]
이미지의 입력 프롬프트와 URL을 포함하는 목록입니다.
inputs[].image_url필수
유형url · image
처리할 이미지를 가리키는 URL입니다.
inputs[].prompt선택 사항
유형string
기본값Describe this image.
이미지에 적용된 프롬프트입니다.
max_tokens선택 사항
유형integer
기본값64
32 – 1,024
새로 생성되는 토큰의 상한입니다.
temperature선택 사항
유형number
기본값0.2
≤ 1> 0
샘플링 온도 설정입니다.
top_p선택 사항
유형number
기본값1
0 – 1
샘플링 top-P 설정입니다.
repetition_penalty선택 사항
유형number
기본값1
1 – 2
샘플링 중 반복에 적용하는 패널티입니다.
필수

출력

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "moondream/batched",
  "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": 4,
    "usd": "0.004",
    "charged": 4,
    "refunded": 0
  },
  "input": {
    "inputs": [
      {
        "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
      }
    ]
  },
  "output": {
    "outputs": [
      "string"
    ],
    "partial": false,
    "timings": {},
    "filenames": [
      "string"
    ]
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
파일 보관 방식 선택모든 outputs[].url은 스토리지에 저장된 복사본입니다. 계정 설정 또는 ?storage=에 따라 영구 보관(GB-월 단위 과금)하거나 7일 동안 무료로 보관합니다.
모든 모델에서 동일한 구조이미지, 동영상, 오디오 모두 type, url, content_type, width, height 및 duration을 사용합니다. output은 모델 자체의 결과 객체입니다.
출력 필드
outputs
array of string생성된 결과를 포함하는 목록입니다.
partial
boolean출력이 불완전한지 나타냅니다.
timings
object개별 처리 단계의 시간 측정값입니다.
filenames
array of string | null처리된 이미지 파일의 이름입니다.

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