Skip to main content
This guide shows you how to use custom visual search filters to precisely control which stock visuals are selected for each scene. Use category filters and custom search queries to ensure your videos showcase exactly the right imagery for your content.

What You’ll Learn

Search Filters

Control visual selection with precision

Category Filtering

Narrow visuals by specific categories

Custom Queries

Write effective search queries

Combined Filtering

Use category and query together

Before You Begin

Make sure you have:
  • A Pictory API key
  • Node.js or Python installed on your machine
  • Understanding of your content’s visual needs
  • Familiarity with search query writing

How Visual Search Filters Work

When you apply custom visual search filters:
  1. Filter Definition - You specify category and/or query for each scene
  2. Category Filtering - System narrows search to specific visual categories
  3. Query Processing - Custom search query is analyzed for keywords
  4. Visual Search - Stock library is searched with combined filters
  5. Relevance Ranking - Results are ranked by relevance to filters
  6. Visual Selection - Best-matching visuals are selected for the scene
  7. Video Assembly - Selected visuals are integrated into video scenes
Using both category and query together provides the most precise results. The category narrows the type of content, while the query refines specific characteristics within that category.

Complete Example

Understanding the Parameters

Search Filter Configuration

Best Practice: Use both category and query together for optimal results. Category provides broad filtering, while query adds specific details for precise matching.

Available Categories

Nature Categories

Animal Categories

Business Categories

Technology Categories

Places and Landmarks Categories

People Categories

Writing Effective Search Queries

Query Best Practices

Query Writing Tips

Use detailed descriptions for better visual matching:
  • Add Context: “mountain peaks at sunset” vs just “mountain”
  • Include Details: “colorful coral reef with tropical fish”
  • Specify Style: “modern minimalist office design”
  • Add Mood: “serene lake with morning mist”
  • Describe Action: “entrepreneur working on laptop in cafe”
  • Use Adjectives: “vibrant”, “professional”, “dynamic”, “peaceful”
Align search terms with your video’s style:
  • Professional: “corporate boardroom”, “business professional”
  • Casual: “relaxed outdoor setting”, “informal gathering”
  • Energetic: “dynamic motion”, “fast-paced action”
  • Calm: “peaceful scenery”, “tranquil environment”
  • Modern: “contemporary design”, “cutting-edge technology”
  • Traditional: “classic architecture”, “timeless aesthetic”
Include multiple visual elements in queries:
  • Location + Activity: “people hiking on mountain trail”
  • Subject + Environment: “coral reef in clear tropical waters”
  • Object + Context: “laptop on wooden desk in bright office”
  • Action + Setting: “team collaborating in modern workspace”
  • Time + Place: “sunset over ocean beach”
  • Style + Subject: “minimalist interior design with natural light”
Include relevant industry terminology:
  • Technology: “cloud computing”, “data visualization”, “UI/UX design”
  • Healthcare: “medical equipment”, “clinical setting”, “patient care”
  • Finance: “stock market”, “financial charts”, “banking”
  • Education: “classroom learning”, “students studying”, “academic”
  • Real Estate: “luxury home interior”, “architectural design”
  • Food: “gourmet cuisine”, “fresh ingredients”, “culinary”
Keep queries focused and manageable:
  • Don’t: “extremely detailed ultra-realistic 4K professional cinematic shot of”
  • Do: “professional high-quality business meeting”
  • Don’t: “absolutely perfect mountain vista with every detail”
  • Do: “scenic mountain landscape with clear sky”
  • Balance: Be specific without being unrealistic
  • Focus: 5-10 words is often ideal

Common Use Cases

Travel and Tourism Video

Result: Travel video with precisely matched destination visuals.

Corporate Training Video

Result: Professional training video with appropriate workplace visuals.

Environmental Documentary

Result: Environmental documentary with relevant nature and wildlife footage.

Technology Product Launch

Result: Tech product video with modern, innovative visuals.

Best Practices

Always use both filters together when possible:
  • Category Alone: Too broad, may return irrelevant results
  • Query Alone: Searches across all categories, less targeted
  • Both Together: Narrows to category, then refines with query
  • Example: Category: Nature/Landscapes + Query: “mountain sunset”
  • Result: Only landscape visuals matching “mountain sunset”
  • Efficiency: Faster search with more relevant results
Choose specific subcategories over general ones:
  • Instead of: Just searching all “Animals”
  • Use: Specific Animals/Marine_Life or Animals/Wildlife
  • Benefit: More targeted results within category
  • Example: Business_and_Professions/Office_Work vs generic business
  • Precision: Subcategories eliminate unrelated visuals
  • Quality: Higher relevance in search results
Refine queries based on results:
  • Start Broad: Begin with general query, review results
  • Add Details: Refine query with more specific terms
  • Compare: Test different query phrasings
  • Document: Keep track of queries that work well
  • Iterate: Adjust based on actual visual output
  • Build Library: Create a collection of effective queries for reuse
Ensure visual filters align with scene narrative:
  • Content Relevance: Query should match what scene describes
  • Tone Consistency: Visual mood should match narrative tone
  • Action Alignment: If scene describes activity, query should too
  • Temporal Matching: Consider time of day, season in queries
  • Emotional Match: Visuals should support scene emotion
  • Avoid Disconnect: Don’t show unrelated visuals to confuse viewers
Adapt filters for target audience:
  • Local Context: Use location-specific terms when relevant
  • Cultural Sensitivity: Choose appropriate cultural representations
  • Language: Consider if terms translate well globally
  • Regional Specifics: “downtown Manhattan” vs generic “city”
  • Seasonal: Match seasons to target audience’s climate
  • Global vs Local: Balance universal appeal with local relevance

Troubleshooting

Problem: Selected visuals do not align with scene content or query.Solution:
  • Make query more specific with additional descriptive terms
  • Verify category is appropriate for desired content
  • Try different query phrasing (synonyms, different structure)
  • Add more context to query (location, time, mood)
  • Test with simpler query first, then add complexity
  • Review if category and query are complementary, not contradictory
Problem: Search returns very generic or seemingly random visuals.Solution:
  • Check that category spelling is exact (case-sensitive)
  • Verify category exists in available categories list
  • Try removing category to test if query alone works
  • Simplify query - may be too specific/complex
  • Remove uncommon words that might limit results
  • Use broader category if too specific category has limited stock
Problem: Setting category does not seem to filter results appropriately.Solution:
  • Verify exact category path: Nature/Landscapes (with slash, exact caps)
  • Check for typos in category name
  • Ensure category exists in documentation
  • Try parent category if subcategory too narrow
  • Test category without query to see category-only results
  • Review available categories list for correct naming
Problem: Different scenes get very similar or identical visuals.Solution:
  • Make each scene’s query more unique and specific
  • Add scene-specific details to differentiate queries
  • Use different categories for different scenes
  • Include contrasting elements in queries
  • Add time/location/style differences to queries
  • Test if stock library has enough variety for your needs
Problem: Very detailed query returns visuals that do not match well.Solution:
  • Simplify query to core elements
  • Remove overly specific adjectives or uncommon terms
  • Focus on 2-3 main visual elements
  • Test with broader query, then incrementally add detail
  • Consider if stock library has content matching specific query
  • Balance specificity with realistic availability
Problem: Certain terms do not yield expected results.Solution:
  • Use standard English terms (American English typically)
  • Try synonyms or alternative phrasings
  • Use industry-standard terminology
  • Avoid slang, regional terms, or abbreviations
  • Test common vs technical terminology
  • Keep language simple and universal

Filter Strategies

Strategy 1: Category-First Approach

Strategy 2: Query-First Approach

Next Steps

Enhance your visual search with these complementary features:

Background Video Settings

Control video background behavior

Custom Backgrounds

Use custom images and videos

Scene Transitions

Add smooth transitions between visuals

Brand Settings

Apply consistent branding to visuals

API Reference

For complete technical details, see: