This guide takes you from a new account to your first finished result in Studio. It takes a few minutes.
Before you start
You need a Davix H2I account. Create a free account or sign in. You do not need a card for the free plan.
Run your first tool
- Open Studio. The Workspace tab is the default view.
- Find a tool. Browse the tool groups, or use Search operations and type what you want to do, for example “resize” or “merge pdf”.
- Add your file. Drop it on the tool or choose it from your computer. If the tool accepts links, you can give a web address instead.
- Set the options. The Simple tab shows only the basics in plain words. The Advanced tab shows every option the tool has.
- Press Generate. The result appears with a preview and a download button.
After the first run
- Every result is kept in History so you can download it again. How long it is kept depends on your plan: see How long we keep your files.
- Locked tools are shown dimmed with the name of the plan that includes them. You can still read about them.
- Prefer to describe the job in words? Open the Assistant tab: Talk to the assistant.
- Want to call the tools from code? Create an API key and read Call a tool over REST.
Run the same tool from code
Everything you did in Studio can be done from your own program. Create an API key in the Dashboard under API Keys, keep it in an environment variable, and use the official client for your language (see Choose your SDK). In Python it looks like this:
pip install davixlabs-h2i
import os
from davix_h2i import H2I
h2i = H2I(os.environ["DAVIX_H2I_API_KEY"])
result = h2i.images.resize({"images": "photo.jpg", "width": 800})
print(result.status, result.request_id)
The same call uses the same credits and follows the same limits as in Studio. The result is also saved in your History.
If something goes wrong
When a run fails, Studio explains what happened and what to try, in plain words. For the meaning of each error code see Error codes and rate limits.
Checked against Studio and API contract 3.0.0.
