Create a HTML document

Write a HTML document by creating a document and specifying what should be changed on the document.

Input

Description

Easily create custom HTML documents by instructing the AI to generate the content you need. Perfect for landing pages and small standalone HTML files.

Applications

This HTML document creation tool is ideal for various applications, including:

• Landing Pages: Craft captivating landing pages with ease to attract visitors and achieve your goals.

• Small Standalone HTML Documents: Quickly generate compact and efficient standalone HTML files for various purposes.

How to use the task

  1. Define your desired HTML document content.

  2. Run the task to generate the HTML file.

  3. Make any changes you want and run the task again to update the document.

[1.0.0]:
First version
VersionAI ModelCreatedLink
1.0.023.07.2023

API

The REST API allows you to call the tool with the same costs as when running the tool. Please generate an Personal access token before using the REST API.

Parameters

  • duration_h (Document lifetime (h)): How many hours the document is stored. (less = cheaper)
  • session (Document name): Defines in which session the data is stored. you can think of it as a temporary file name.
  • task (Task to edit the html): The task of the worker agent.
  • Call the REST API by cURL
    curl -v -H "Authorization: Bearer PERSONAL_ACCESS_TOKEN" https://api.anysolve.ai/rest/v1/u-ba835df8268fc301-create-a-html-document/1.0.0?duration_h=3&session=eea0d1b7-365b-45ee-9564-cce06041f6e4&task=Write%20a%20landing%20page%20that%20features%20a%20shoe%20shop
  • Install the package with pip
    python3 -m pip install anysolve
  • Run in python3
    import os
    from anysolve import AnySolve
    anysolve_token = os.environ.get('ANYSOLVE_PERSONAL_ACCESS_TOKEN') # Resolve your personal access token here
    client = AnySolve(anysolve_token)
    res = client.run('u-ba835df8268fc301-create-a-html-document','1.0.0', {'duration_h': '3', 'session': 'eea0d1b7-365b-45ee-9564-cce06041f6e4', 'task': 'Write a landing page that features a shoe shop'})
    print(res)
  • Coming soon: Within AnySolve ChatComplete prompts you can use the following command to execute the task:
    /run('u-ba835df8268fc301-create-a-html-document','1.0.0', duration_h='3', session='eea0d1b7-365b-45ee-9564-cce06041f6e4', task='Write a landing page that features a shoe shop')