Svrf – Face Filters

Svrf – Face Filters

Media

Let your users search and experience the largest database of immersive face filters, 360 videos, and 360 photos. The Svrf API is free to use across all types of apps: camera, messaging, chat, dating, creation, community, and more. The Svrf API allows you to supercharge your project or app with the first and largest search engine for immersive experiences. We make it simple for any developer to incorporate highly immersive experiences with all kinds of applications: augmented reality, virtual reality, mixed reality, mobile, and web. The Svrf API is RESTful and communicates using JSON. We support CORS, allowing you to access immersive experiences indexed by Svrf on your own web domains. We also provide a variety of resolutions, projections, and file formats to support most modern clients.

Visit API

📚 Documentation & Examples

Everything you need to integrate with Svrf – Face Filters

🚀 Quick Start Examples

Svrf – Face Filters Javascript Examplejavascript
// Svrf – Face Filters API Example
const response = await fetch('https://www.svrf.com/developers', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

Introduction to SVRF Public APIs

SVRF is a platform that offers an extensive library of 3D and Augmented Reality (AR) assets, such as images and filters, that developers can incorporate into their applications. These assets can be utilized to create immersive experiences that can engage users with cutting-edge technology.

The SVRF platform offers APIs that allow developers to access the platform's vast library of assets directly. In this article, we'll explore how to use the APIs, and provide example code written in JavaScript.

Getting Started

Before leveraging the API, developers need to register an account on the SVRF Developer Portal. Once registered, you will be provided with an access key that you can utilize to make requests to the APIs.

SVRF currently provides 3 public APIs:

  1. Search API
  2. Random API
  3. Trending API

Search API

This API allows developers to search for specific images or filters by keyword. Searching for assets can be done by calling the following API endpoint:

https://api.svrf.com/v1/search?query={query}&type={type}&category={category}

Here's an example code snippet that demonstrates how to use the Search API to search for all the filter and image assets related to the keyword "cat."

const fetch = require('node-fetch');

fetch(`https://api.svrf.com/v1/search?query=cat&type=model,filter`)
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error))

Random API

This API allows developers to fetch a random filter or image assets. Making a call to the Random API is a simple HTTP GET request:

https://api.svrf.com/v1/random?type={type}&category={category}

Here's a code snippet that shows how to implement the Random API to access a random image:

const fetch = require('node-fetch');

fetch(`https://api.svrf.com/v1/random?type=image`)
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error))

Trending API

This API allows developers to fetch assets that are currently trending on the SVRF platform. To receive a list of images and filters that are currently popular, you can call the following API endpoint:

https://api.svrf.com/v1/trending?id={id}&type={type}&category={category}

To make an HTTP GET request with the Trending API, you could use the following code:

const fetch = require('node-fetch');

fetch(`https://api.svrf.com/v1/trending?type=image,filter`)
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error))

Conclusion

In conclusion, the APIs that SVRF provides offers developers more flexibility and control over the assets that can be incorporated into their applications. The combination of powerful APIs and multiple use cases can help create immersive AR experiences. With the example code included in this article, developers can make the most out of the SVRF public APIs, and start creating their own AR experiences hassle-free.

📊 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

Jun 2Jun 4Jun 6Jun 8Jun 10Jun 12Jun 14Jun 16Jun 18Jun 20Jun 22Jun 24Jun 26Jun 28Jul 104008001440Minutes
Online
Offline

Related APIs in Media