Skip to content

Quick Start

Get Manuscript running and detecting AI content in under 30 seconds.

The fastest way to get started:

Terminal window
docker run -p 8080:8080 manuscript/manuscript

That’s it! The API is now running at http://localhost:8080.

If you have Go 1.21+ installed:

Terminal window
go install github.com/vinpatel/manuscript/cmd/api@latest
manuscript
Terminal window
git clone https://github.com/vinpatel/manuscript.git
cd manuscript
make run

Check the health endpoint:

Terminal window
curl http://localhost:8080/health

You should see:

{"status": "healthy", "version": "0.2.0"}
Terminal window
curl -X POST http://localhost:8080/verify \
-H "Content-Type: application/json" \
-d '{"text": "Your content to analyze here..."}'

Response:

{
"id": "hm_abc123",
"verdict": "human",
"confidence": 0.87,
"content_type": "text",
"signals": {
"sentence_variance": 0.42,
"vocabulary_richness": 0.78,
"contraction_ratio": 0.15
},
"processing_time_ms": 8
}
Terminal window
curl -X POST http://localhost:8080/verify \
-F "image=@photo.jpg"
Terminal window
curl -X POST http://localhost:8080/verify \
-F "audio=@recording.mp3"
Terminal window
curl -X POST http://localhost:8080/verify \
-F "video=@clip.mp4"
FieldDescription
idUnique identifier for this analysis
verdict"human" or "ai"
confidence0.0 to 1.0 confidence score
content_typeType of content analyzed
signalsDetailed breakdown of detection signals
processing_time_msTime taken to process

Add ?detailed=true for comprehensive signal breakdown:

Terminal window
curl -X POST "http://localhost:8080/verify?detailed=true" \
-H "Content-Type: application/json" \
-d '{"text": "Your content here"}'