Duply
PhotographyUnlock the full potential of your multimedia projects with our powerful API designed to generate, edit, scale, and manage images and videos smarter and faster. This versatile tool empowers developers to seamlessly integrate advanced media processing capabilities into their applications. Whether you're looking to perform bulk edits, resize assets for various platforms, or enhance visuals with custom effects, our API delivers high performance and reliability, ensuring that your media workflow is efficient and hassle-free. Dive into the comprehensive documentation to kickstart your integration and explore a wide range of features tailored to elevate your digital content.
Utilizing this API brings numerous benefits to your development process, such as:
- Streamlined media generation and editing capabilities that save time and effort.
- High-quality output suitable for any application or platform.
- Rapid scaling options that maintain image and video integrity.
- Easy-to-use interface backed by detailed documentation for quick implementation.
- Enhanced media management features that simplify organization and retrieval.
Here's a JavaScript example demonstrating how to call the API for image generation:
const axios = require('axios');
const generateImage = async () => {
try {
const response = await axios.post('https://duply.co/api/generate-image', {
params: {
width: 800,
height: 600,
backgroundColor: '#FFFFFF',
text: 'Hello, World!'
},
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
console.log('Generated Image URL:', response.data.imageUrl);
} catch (error) {
console.error('Error generating image:', error);
}
};
generateImage();