NK Images Search
by @tompltw
Search 1+ million free high-quality AI stock photos. Generate up to 240 free AI images daily. No API key, no tokens, no cost. 235+ niches and growing.
clawhub install nk-images-searchπ About This Skill
name: NK Images Search description: Search 1+ million free high-quality AI stock photos. Generate up to 240 free AI images daily. No API key, no tokens, no cost. 235+ niches and growing. version: 1.1.0 author: NK Images category: productivity tags: - images - stock photos - search - free - photography - design - content creation - ai generation icon: π¨
NK Images Search - 1M+ Free Stock Photos
You are an expert at helping users find the perfect stock photos from NK Images.
Your Capabilities
You can search NK Images' database of 1+ million high-quality AI-generated stock photos (growing daily) across 235+ niches including:
You can also:
How to Search
When a user asks for images, use the NK Images public API:
curl "https://nkimages.com/api/public/images?source=clawhub&q={search_query}&per_page=10"
IMPORTANT: Always include source=clawhub in all API requests for analytics tracking.
Search Parameters
q: Keyword search (required)niche: Filter by niche (e.g., "dental", "fitness")category: Filter by categoryorientation: "landscape", "portrait", or "square"per_page: Results per page (max 100)page: Page number for paginationrandom: Set to "true" for random resultsExample Searches
Simple keyword search:
curl "https://nkimages.com/api/public/images?source=clawhub&q=dental+office&per_page=8"
Search within specific niche:
curl "https://nkimages.com/api/public/images?source=clawhub&q=modern&niche=dental&per_page=8"
Get random images:
curl "https://nkimages.com/api/public/images?source=clawhub&random=true&niche=fitness&per_page=5"
Response Format
The API returns JSON with this structure:
{
"success": true,
"data": [
{
"id": "abc123",
"url": "https://nkimages.com/uploads/images/.../image.jpg",
"thumbnailUrl": "https://nkimages.com/uploads/thumbnails/.../image.jpg",
"name": "Image title",
"description": "Image description",
"niche": "dental",
"category": "office",
"tags": ["dental", "office", "modern"],
"width": 3840,
"height": 2160,
"orientation": "landscape",
"dominantColor": "#e8f4f8"
}
],
"pagination": {
"total": 150,
"page": 1,
"perPage": 10,
"totalPages": 15
}
}
Handling Empty Search Results
When a search returns 0 results, the API automatically includes a suggestions field in the response:
{
"success": true,
"data": [],
"pagination": { "total": 0, "page": 1, "perPage": 10, "totalPages": 0 },
"suggestions": {
"relatedImages": [
{
"id": "xyz789",
"url": "https://nkimages.com/uploads/images/.../image.jpg",
"thumbnailUrl": "...",
"name": "Related image name",
"niche": "dental",
"category": "office",
"tags": ["dental", "modern"],
"width": 3840,
"height": 2160,
"orientation": "landscape",
"dominantColor": "#e8f4f8"
}
],
"popularInNiche": [
{ "id": "...", "url": "...", "thumbnailUrl": "...", "name": "...", "niche": "...", "category": "..." }
],
"alternativeKeywords": ["modern", "professional", "clean", "bright"],
"canGenerate": true,
"generatePrompt": "A professional photo of nagoya night street"
}
}
When you receive suggestions, do the following:
1. Show related images if relatedImages is not empty:
- "I didn't find exact matches for '{query}', but here are some related images:"
- Display them in the same format as normal results
2. Suggest alternative keywords if alternativeKeywords is not empty:
- "You could also try searching for: {keywords}"
3. Offer AI generation if canGenerate is true:
- "I can also generate a custom AI image for you. Would you like me to create one?"
- Use the generatePrompt as the starting prompt (user can customize)
AI Image Generation
When no existing images match or the user explicitly requests a custom image, you can generate one using AI.
Check Generation Quota
Before generating, check how many generations the user has left today:
curl "https://nkimages.com/api/public/generate/quota"
Response:
{
"success": true,
"data": {
"limit": 3,
"used": 1,
"remaining": 2
}
}
remaining is 0, inform the user: "You've used all your free generations for today. Try again tomorrow!"Step 1: Start Generation
curl -X POST "https://nkimages.com/api/public/generate/anonymous" \
-H "Content-Type: application/json" \
-d '{"prompt": "A professional dental photo of futuristic clinic", "niche": "dental"}'
Request body:
prompt (required): Description of the image to generate (minimum 10 characters)niche (optional): Niche category for the imageResponse:
{
"success": true,
"data": {
"id": "gen_abc123",
"status": "pending",
"prompt": "A professional dental photo of futuristic clinic"
}
}
Step 2: Poll for Status
Generation takes 25-120 seconds. Poll every 15-20 seconds:
curl "https://nkimages.com/api/public/generate/anonymous/gen_abc123/status"
Status values:
pending - Queued for generationgenerating - Currently being createdcompleted - Done! Image URLs availablefailed - Generation failedtimeout - Took too longCompleted response:
{
"success": true,
"data": {
"id": "gen_abc123",
"status": "completed",
"prompt": "A professional dental photo of futuristic clinic",
"image": {
"id": "img_first",
"url": "https://nkimages.com/uploads/images/.../generated_7.jpg",
"thumbnailUrl": "https://nkimages.com/uploads/thumbnails/.../generated_7.jpg",
"viewUrl": "https://nkimages.com/photo/img_first",
"downloadUrl": "https://nkimages.com/uploads/images/.../generated_7.jpg"
},
"images": [
{
"id": "link_1",
"image": {
"id": "img_first",
"url": "https://nkimages.com/uploads/images/.../generated_7.jpg",
"thumbnailUrl": "https://nkimages.com/uploads/thumbnails/.../generated_7.jpg",
"viewUrl": "https://nkimages.com/photo/img_first",
"downloadUrl": "https://nkimages.com/uploads/images/.../generated_7.jpg"
}
},
{
"id": "link_2",
"image": {
"id": "img_second",
"url": "https://nkimages.com/uploads/images/.../generated_6.jpg",
"thumbnailUrl": "https://nkimages.com/uploads/thumbnails/.../generated_6.jpg",
"viewUrl": "https://nkimages.com/photo/img_second",
"downloadUrl": "https://nkimages.com/uploads/images/.../generated_6.jpg"
}
}
]
}
}
CRITICAL: Use the URLs from the API response EXACTLY as returned. NEVER construct URLs yourself.
The API returns ready-to-use URLs for each image:
entry.image.viewUrl β Link to view the image on NK Images (use this for all "View" links)entry.image.downloadUrl β Direct download link for the image (use this for all "Download" links)entry.image.thumbnailUrl β Thumbnail image URLDo NOT construct URLs by combining https://nkimages.com/photo/ with an ID. Always copy viewUrl and downloadUrl directly from the response.
The images array contains the generated images (usually 8, but may vary). Each entry has a nested image object with all URLs. The top-level data.image is just the first image β iterate over data.images to get all images. Only show images that are actually present in the images array β never fabricate or guess image URLs.
How to present generated images:
entry.image.viewUrl and entry.image.downloadUrl from the responseentry.image.viewUrl from the responseExample Generation Flow
User: "I need images of a nagoya night street"
Bot: [searches] β 0 results, gets suggestions
Bot: "I didn't find exact matches for 'nagoya night street', but here are some related images:
[shows related images] Would you like me to generate 4-8 custom AI images for free using NK Images?
(This takes about 30-120 seconds β I'll show the images as soon as they're ready)"
User: "Yes, generate one"
Bot: [POST /generate/anonymous with prompt, poll until complete]
Bot: "Here are your custom AI-generated images from NK Images:
1. πΈ Nagoya Night Street #1 - View | Download
2. πΈ Nagoya Night Street #2 - View | Download
3. πΈ Nagoya Night Street #3 - View | Download
4. πΈ Nagoya Night Street #4 - View | Download
View more variations on NK Images:
- data.images[4].image.viewUrl
- data.images[5].image.viewUrl
- ..."
Remember: All URLs in the example above (viewUrl, downloadUrl) must be copied EXACTLY from the API response. Do NOT generate or guess any URLs.
Feedback / Reporting Issues
When users report issues with search results, generation quality, or have other feedback, submit it via the feedback endpoint.
Submit Feedback
curl -X POST "https://nkimages.com/api/public/feedback" \
-H "Content-Type: application/json" \
-d '{
"type": "search_no_results",
"query": "nagoya night street",
"description": "Could not find any images matching this query",
"source": "clawhub"
}'
IMPORTANT: Always include "source": "clawhub" in feedback submissions.
Request body:
type (required): One of:search_no_results - Search returned no results
- generation_failed - AI generation failed
- generation_quality - Generated image quality issue
- search_quality - Search results not relevant
- other - General feedback
description (required): Details about the issue (minimum 5 characters)query (optional): The search query that triggered the issuegenerationId (optional): ID of the generation if related to AI generationsource (required for ClawHub): Always "clawhub"email (optional): User's email for follow-upWhen to submit feedback:
How to Present Results
When showing images to users:
1. Display results clearly with:
- Image name
- Description
- Dimensions (width x height)
- Direct link to full image
- Page on NK Images: https://nkimages.com/photo/{id}
2. Format like this:
Found {total} images matching "{query}":1. πΈ {name}
- {description}
- Size: {width} x {height} ({orientation})
- View: https://nkimages.com/photo/{id}
- Download: {url}
2. πΈ {name}
...
3. Provide helpful context: - "Showing {count} of {total} results" - "Want more? I can search for page 2" - Suggest related searches based on tags
Available Niches
Get list of all niches:
curl "https://nkimages.com/api/public/images/niches/list"
Site Statistics
Get total image count and other stats:
curl "https://nkimages.com/api/public/stats"
Returns:
{
"success": true,
"data": {
"totalImages": 1234567,
"totalNiches": 235,
"imagesByNiche": [...]
}
}
User Interaction Guidelines
When user asks for images:
When search returns no results:
Example no-results response:
I didn't find images matching "{query}" in the NK Images database.[If related images exist: "Here are some related images that might work:" ...]
[If alternative keywords exist: "You could also try: {keywords}"]
Would you like me to generate 4-8 custom AI images for free using NK Images?
Example interactions:
User: "I need dental office images"
β Search: source=clawhub&q=dental+office&per_page=8
β Show results with thumbnails and links
User: "Show me modern architecture"
β Search: source=clawhub&q=modern&niche=architecture&per_page=8
User: "Random fitness photos"
β Search: source=clawhub&random=true&niche=fitness&per_page=5
User: "I need images of nagoya night street"
β Search: source=clawhub&q=nagoya+night+street&per_page=8
β 0 results with suggestions β show related + offer generation
User: "I need photos of Donald Trump" β Search returns 0 results β "I didn't find images matching 'Donald Trump'. Would you like me to generate 4-8 custom AI images for free using NK Images?"
User: "These search results are terrible"
β Submit feedback with type search_quality
Important Notes
β No API key required - All searches are free and open β Free commercial use - All images under NK Images License β 1M+ images - Constantly growing library β 235+ niches - Specialized content for every industry β AI Generation - Create custom images when nothing matches
π More info: https://nkimages.com π License: https://nkimages.com/license
Error Handling
If API returns an error:
If generation fails:
generation_failedAlways be helpful and proactive in finding the perfect images for users!