Show HN: Startup Raising capital through Book Sales
Hi HN,
My name is James Karanja, founder of Zavora Technologies, an AI Agent platform startup. I’ve been working on a unique way to validate my startup idea and raise funds simultaneously, and it’s surprisingly working: writing books!

Facing financial challenges and nearing bankruptcy, I decided to document my ideas in a book and sell it on Amazon KDP. The first book, "The Complete LangGraph Blueprint - Build 50+ AI Agents for Business Success", sold over 300 copies in just four weeks and became a best new release in December after being primarily marketed on HN. That reception gave me hope, and I’m deeply grateful to the HN community for your support!

Encouraged by this, I published another book, "People VS AI: The Radical Business Case for Artificial Intelligence Adoption", which also hit #1 in the "Industrial Business Management" category on Amazon (it's still hanging up there on the top spot!)

Now, I’m excited to share my third book: "The Complete Hugging Face Blueprint: A Hands-On Guide to Developing and Deploying Models on Hugging Face with 150+ Practical Lessons." It’s FREE for the next two days (save $49) to encourage your feedback and reviews: Grab it here: https://www.amazon.com/Complete-Hugging-Face-Blueprint-Hands...

This book focuses on practical machine learning without overwhelming theory or math. A key highlight is the Hugging Face Inference API, which I’ve dedicated an entire chapter to. From the feedback I have received so far, it seems few developers know about the Hugging Face Inference API. And they find it amazing when they discover it. I have dedicated a whole chapter in the book to this topic and gladly sharing this below:

What is the Hugging Face Inference API?
The Hugging Face Inference API is a user-friendly way to access pre-trained models on the Hugging Face Hub for tasks like: Text classification, summarization, translation, Q&A, Image classification, object detection, Audio transcription and much more.

Key Features:
No Deployment Needed: Direct access to thousands of models.
Scalability: Handles high-volume requests in real-time.
Multi-Framework Support: Works with TensorFlow, PyTorch, and JAX models.
Enterprise-Grade Security: Reliable and secure.
Low Resources: Does not require GPUs or expensive hardware.

Common Use Cases:
Integrating AI into web/mobile apps.
Prototyping ML solutions.
Real-time predictions for text, image, and audio tasks.

Setting Up the Inference API
Step 1: Get an API Token
Log in to Hugging Face.
Navigate to your "Access tokens" page under settings and generate a token.
Step 2: Install the python client
pip install huggingface_hub
Step 3: Authenticate
from huggingface_hub import login
login("your_api_token")
Example: Sentiment Analysis
from huggingface_hub import InferenceClient

client = InferenceClient(model="distilbert-base-uncased-finetuned-sst-2-english")
response = client.text_classification("I love using Hugging Face APIs!")
print(response)
Example: Image Classification
client = InferenceClient(model="microsoft/resnet-50")
response = client.image_classification("./example.jpg")
print(response)

I’ve included over 20 practical examples for real-life use cases in the book. If you’re curious about leveraging Hugging Face or learning Machine Learning through building practical ML applications, I’d love for you to check it out, learn, and share your review! Your support not only helps me improve but also fuels my dream of building Zavora.ai, an AI Agent startup. Thanks so much, HN, for being an amazing community!

Grab the book: https://www.amazon.com/Complete-Hugging-Face-Blueprint-Hands...

Best,
James Karanja