def get_operations(product_id):
    """Get ProductImageCreate operations

    Parameters
    ----------
    product_id : str
            id for which the product image will be created.

    Returns
    -------
    query : str
    variables: dict
    """
    query = """
        mutation ProductImageCreate($product: ID!, $image: Upload!, $alt: String) {
            productImageCreate(input: {alt: $alt, image: $image, product: $product}) {
                image{
                    id
                }
                productErrors {
                    field
                    message
                }
            }
        }
    """
    variables = {
        "product": product_id,
        "image": "0",
        "alt": ''
    }
    return {"query": query, "variables": variables}